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
7e1dd3be
authored
2023-02-28 16:17:43 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add annotation/checksum support.
1 parent
c1ccbbf1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
charts/moqui/templates/moqui.yaml
charts/moqui/templates/moqui.yaml
View file @
7e1dd3b
...
...
@@ -23,10 +23,11 @@ spec:
{{
- end
}}
template
:
metadata
:
{{
- with .Values.podAnnotations
}}
annotations
:
{{
- toYaml . | nindent 8
}}
{{
- end
}}
{{
- $checksums
:
= (dict
"checksum/config-map" (include (print .Template.BasePath "/config-map.yaml") . | sha256sum | trunc 63)
"checksum/secret" (include (print .Template.BasePath "/secret.yaml") . | sha256sum | trunc 63)
)
}}
annotations
:
{{
merge (dict) .Values.podAnnotations $checksums | toYaml | nindent 8
}}
labels
:
{{
- include "moqui.selectorLabels" . | nindent 8
}}
spec
:
...
...
Please
register
or
sign in
to post a comment