Skip to content

Commit

Permalink
chart: ycc: add additionalEnv and imagePullSecrets (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfelbing authored Mar 14, 2024
1 parent 027c97c commit fd5f4ef
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: yawol-cloud-controller
namespace: {{ .Values.namespace }}
namespace: {{ .Values.namespace }}
{{- if hasKey .Values.yawolCloudController.serviceAccount "imagePullSecret" }}
imagePullSecrets:
- name: {{ .Values.yawolCloudController.serviceAccount.imagePullSecret }}
{{- end -}}
4 changes: 4 additions & 0 deletions charts/yawol-controller/templates/yawol-cloud-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ spec:
- name: AVAILABILITY_ZONE
value: {{ .Values.yawolAvailabilityZone }}
{{- end }}
{{- range $key, $val := .Values.yawolCloudController.additionalEnv }}
- name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
{{- if .Values.resources.yawolCloudController }}
resources:
{{ toYaml .Values.resources.yawolCloudController | indent 10 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/yawol-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ yawolCloudController:
service:
annotations: {}
labels: {}
additionalEnv: {}
#ENV_VAR: value
image:
repository: ghcr.io/stackitcloud/yawol/yawol-cloud-controller
# -- Allows you to override the yawol version in this chart. Use at your own risk.
tag: ""
serviceAccount: {}
#imagePullSecret: "registry-credentials"

yawolController:
gardenerMonitoringEnabled: false
Expand Down

0 comments on commit fd5f4ef

Please sign in to comment.