Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
moqui
/
k8s-moqui
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c91e7447
authored
2024-05-10 15:29:32 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Switch extraConfigMap/extraSecrets/generatedComponent.sources to
dictionaries.
1 parent
1306dd3f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
charts/moqui/templates/config-map.yaml
charts/moqui/templates/moqui.yaml
charts/moqui/templates/secret.yaml
charts/moqui/values.yaml
charts/moqui/templates/config-map.yaml
View file @
c91e744
...
...
@@ -6,7 +6,7 @@ metadata:
{{
- include "moqui.labels" . | nindent 4
}}
data
:
{{
.Values.configMap | toYaml | nindent 2
}}
{{
- range .Values.extraConfigMaps
}}
{{
- range
$key
,
$value
:
=
.Values.extraConfigMaps
}}
---
{{
.
| toYaml
}}
{{
$value
| toYaml
}}
{{
- end
}}
...
...
charts/moqui/templates/moqui.yaml
View file @
c91e744
...
...
@@ -51,7 +51,10 @@ spec:
-
name
:
generated-component
projected
:
sources
:
{{
.Values.generatedComponent.sources | toYaml | nindent 14
}}
{{
- range $key
,
$value
:
= .Values.generatedComponent.sources
}}
-
{{
$value | toYaml | nindent 14
}}
{{
- end
}}
{{
- end
}}
initContainers
:
...
...
charts/moqui/templates/secret.yaml
View file @
c91e744
...
...
@@ -20,7 +20,7 @@ metadata:
stringData
:
elasticsearch_password
:
admin
{{
- range .Values.extraSecrets
}}
{{
- range
$key
,
$value
:
=
.Values.extraSecrets
}}
---
{{
.
| toYaml
}}
{{
$value
| toYaml
}}
{{
- end
}}
...
...
charts/moqui/values.yaml
View file @
c91e744
...
...
@@ -19,8 +19,8 @@ configMap:
extraEnvs
:
[]
extraConfigMaps
:
[]
extraSecrets
:
[]
extraConfigMaps
:
{}
extraSecrets
:
{}
generatedComponent
:
enabled
:
false
sources
:
[]
...
...
Please
register
or
sign in
to post a comment