Skip to content

Commit

Permalink
Feat: Parsing more values to the deployment (#44)
Browse files Browse the repository at this point in the history
* Parsing more values to the deployment

* These needs to be strings

* Single ticks?

* Quotes here instead?
  • Loading branch information
OrKarstoft authored May 31, 2023
1 parent 250253d commit 901f159
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions charts/kcale/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,11 @@ spec:
value: {{ .Values.pubsub.topic }}
- name: KSCALE_CLUSTERNAME
value: {{ .Values.pubsub.clustername }}
- name: KSCALE_TIMEZONE
value: {{ .Values.podEnvVars.timezone }}
- name: KSCALE_DEBUG
value: "{{ .Values.podEnvVars.debug }}"
- name: KSCALE_JSON_LOGGING
value: "{{ .Values.podEnvVars.jsonLogging }}"
resources:
{{- toYaml .Values.resources | nindent 12 }}
7 changes: 6 additions & 1 deletion charts/kcale/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ serviceAccount:
create: true
# Annotations to add to the service account
annotations:
iam.gke.io/gcp-service-account: kscale@ok2-pub-dev-f3ae.iam.gserviceaccount.com
iam.gke.io/gcp-service-account: kscale@your-project-id.iam.gserviceaccount.com
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
# name: ""
Expand All @@ -36,6 +36,11 @@ podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000

podEnvVars:
timezone: UTC
debug: false
jsonLogging: true

securityContext: {}
# capabilities:
# drop:
Expand Down

0 comments on commit 901f159

Please sign in to comment.