Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinon committed Dec 9, 2022
1 parent 90dc17b commit 6ceb0b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions examples/deployment/cert-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ externalSecrets:
sourceProp: vault_key
- secret: my-custom-plucked-template
template: |
MY_KEY: {{ "{{ .my_key }}" | quote }}
ANOTHER_KEY: {{ printf "{{ .another_key }}/%s" .Values.tenant | quote }}
MY_KEY: {{ "{{ .my_key }}" | quote }}
ANOTHER_KEY: {{ printf "{{ .another_key }}/%s" .Values.tenant | quote }}
properties:
- name: my_key
sourceKey: staging/files-api
Expand All @@ -59,10 +59,12 @@ externalSecrets:
sourceProp: another_vault_key
- secret: my-templated-secret-{{ .Values.templateName }}
template: |
MY_KEY: {{ "{{ .my_key }}" | quote }}
MY_KEY: {{ "{{ .my_key }}" | quote }}
properties:
- name: my_key
sourceKey: staging/files-api
sourceProp: vault_key

tenant: test-tenant
updateStrategy:
type: Recreate
4 changes: 2 additions & 2 deletions ndustrial/deployment/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ maintainers:
- email: devops@ndustrial.io
name: DevOps
# Please make sure that version and appVersion are always the same.
version: 0.1.45
appVersion: 0.1.45
version: 0.1.46
appVersion: 0.1.46
2 changes: 1 addition & 1 deletion ndustrial/deployment/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
{{- if .Values.updateStrategy }}
{{- if ne .Values.updateStrategy.type "RollingUpdate" }}
strategy:
type: {{- .Values.updateStrategy.type }}
type: {{ .Values.updateStrategy.type | quote }}
{{- else }}
strategy: {{- toYaml .Values.updateStrategy | nindent 4 }}
{{- end }}
Expand Down

0 comments on commit 6ceb0b9

Please sign in to comment.