Unverified Commit 204b3a39 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by GitHub

Merge pull request #146 from truenas/catalog-update-6a02

Upgraded catalog item(s)
parents 126ffe2b f32c63be
apiVersion: v1
appVersion: v0.5.4
appVersion: v0.5.5
dependencies:
- name: common
repository: file://../../../library/common/2105.0.0
......@@ -14,4 +14,4 @@ keywords:
name: machinaris
sources:
- https://github.com/guydavis/machinaris
version: 1.0.5
version: 1.0.7
image:
pullPolicy: IfNotPresent
repository: ghcr.io/guydavis/machinaris
tag: v0.5.4
tag: v0.5.5
updateStrategy: Recreate
......@@ -8,7 +8,7 @@ appVolumeMounts:
image:
pullPolicy: IfNotPresent
repository: ghcr.io/guydavis/machinaris
tag: v0.5.4
tag: v0.5.5
machinaris_ui_port: 31003
timezone: America/Edmonton
updateStrategy: Recreate
apiVersion: v1
appVersion: v0.5.4
appVersion: v0.5.5
dependencies:
- name: common
repository: file://../../../library/common/2105.0.0
......@@ -14,4 +14,4 @@ keywords:
name: machinaris
sources:
- https://github.com/guydavis/machinaris
version: 1.0.6
version: 1.0.7
image:
pullPolicy: IfNotPresent
repository: ghcr.io/guydavis/machinaris
tag: v0.5.4
tag: v0.5.5
updateStrategy: Recreate
......@@ -7,6 +7,8 @@ groups:
description: "Configure Storage for Machinaris"
- name: "Machinaris Environment Variables"
description: "Set the environment that will be visible to the container"
- name: "Resource Limits"
description: "Set CPU/memory limits for Kubernetes Pod"
portals:
web_portal:
......@@ -157,3 +159,22 @@ questions:
label: "Value"
schema:
type: string
- variable: enableResourceLimits
label: "Enable Pod resource limits"
group: "Resource Limits"
schema:
type: boolean
- variable: cpuLimit
label: "CPU limit"
group: "Resource Limits"
schema:
type: string
show_if: [["enableResourceLimits", "=", true]]
valid_chars: "^\\d+(?:\\.\\d+(?!.*m$)|m?$)"
- variable: memLimit
label: "Memory limit"
group: "Resource Limits"
schema:
type: string
show_if: [["enableResourceLimits", "=", true]]
valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
......@@ -17,6 +17,12 @@ spec:
hostNetwork: true
containers:
- name: {{ .Chart.Name }}
{{ if .Values.enableResourceLimits }}
resources:
limits:
cpu: {{ .Values.cpuLimit }}
memory: {{ .Values.memLimit }}
{{ end }}
tty: true
{{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }}
......
......@@ -8,7 +8,7 @@ appVolumeMounts:
image:
pullPolicy: IfNotPresent
repository: ghcr.io/guydavis/machinaris
tag: v0.5.4
tag: v0.5.5
machinaris_ui_port: 31003
timezone: America/Edmonton
updateStrategy: Recreate
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment