Skip to content

Commit

Permalink
action: migrate to parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Oct 14, 2023
1 parent c7f520c commit e481aa7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 4 additions & 0 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ AtomiCloud Cluster Bootstrap Engine
| apps.bromine.createNamespace | bool | `false` | |
| apps.bromine.deploy | bool | `false` | |
| apps.bromine.namespace | string | `"sulfoxide"` | |
| apps.bromine.parameters[0].name | string | `"rootSecret.ref"` | |
| apps.bromine.parameters[0].value | string | `"SULFOXIDE_IODINE"` | |
| apps.bromine.parameters[1].name | string | `"storeName"` | |
| apps.bromine.parameters[1].value | string | `"doppler-iodine"` | |
| apps.bromine.pruneLast | bool | `true` | |
| apps.bromine.release | string | `"bromine"` | |
| apps.bromine.replace | bool | `false` | |
Expand Down
9 changes: 5 additions & 4 deletions chart/templates/applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@ spec:
{{- end }}
helm:
ignoreMissingValueFiles: false
{{- if $v.parameters }}
parameters: {{- toYaml $v.parameters | nindent 8 }}
{{- else }}
parameters: []
{{- end }}
passCredentials: false
releaseName: {{ $.Values.serviceTree.landscape }}-{{ $v.release }}
skipCrds: false
valueFiles:
{{- toYaml $v.values | nindent 8 }}
{{ with $v.extraValues }}
values: |
{{- . | nindent 8 }}
{{- end }}


{{- if $v.chart }}
chart: {{ $v.chart }}
Expand Down
5 changes: 5 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,11 @@ apps:
pruneLast: true
replace: false
serverSideApply: false
parameters:
- name: rootSecret.ref
value: SULFOXIDE_IODINE
- name: storeName
value: doppler-iodine

# pichu vcluster, Pichu Virtual Cluster, Pichu Iodine
pichu-iodine:
Expand Down

0 comments on commit e481aa7

Please sign in to comment.