Skip to content

Commit

Permalink
fix(cdl): specify user info on shared ponds
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Nov 15, 2024
1 parent 2a0a6f0 commit 2b2ab83
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/data-pond/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
14 changes: 14 additions & 0 deletions charts/data-pond/templates/secret.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,17 @@ stringData:
"{{ .Values.secret.ref.mapSecretKey }}":
{{- toYaml .Values.secret.value.secretKey | nindent 4 }}
{{- end }}
{{- if contains "Shared" .Values.storageType }}
---
apiVersion: v1
kind: Secret
metadata:
name: "{{ .Release.Name }}-user-0"
labels:
{{- include "data-pond.labels" . | nindent 4 }}
stringData:
"{{ .Values.secret.ref.mapAccessKey }}":
{{- toYaml .Values.secret.value.accessKey | nindent 4 }}
"{{ .Values.secret.ref.mapSecretKey }}":
{{- toYaml .Values.secret.value.secretKey | nindent 4 }}
{{- end }}

0 comments on commit 2b2ab83

Please sign in to comment.