Skip to content

Commit

Permalink
🐛 Fix kinto builder using kinto core secret (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakayolo authored Mar 31, 2021
1 parent f0124fd commit 04b535e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kinto/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: kinto
home: https://www.kintohub.com/
version: 0.5.2
version: 0.5.3
description: All-in-one deployment platform designed for fullstack developers
dependencies:
- name: nginx-ingress-controller
Expand Down
7 changes: 6 additions & 1 deletion charts/kinto/templates/builder-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@ spec:
value: {{ template "kinto.core.fullname" . }}:{{ .Values.core.grpc.port }}
- name: KINTO_CORE_OVER_TLS
value: "false"
{{- if or .Values.core.secretKey .Values.core.existingSecret }}
- name: KINTO_CORE_SECRET
value: {{ .Values.core.secretKey }}
valueFrom:
secretKeyRef:
name: {{ template "kinto.core.fullname" . }}
key: secretKey
{{- end }}
- name: ARGO_WORKFLOW_DOCKER_SECRET
{{- if empty .Values.builder.workflow.docker.existingSecret }}
value: {{ template "kinto.workflow.fullname" . }}-docker
Expand Down

0 comments on commit 04b535e

Please sign in to comment.