UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Developer Tools
Nexus
Commits
d29d30a3
Commit
d29d30a3
authored
Apr 30, 2021
by
Grant Duncklee
Browse files
only generate secret once, secret must survive upgrades
parent
102c702c
Pipeline
#239357
passed with stages
in 2 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
chart/templates/bigbang/secret.yaml
chart/templates/bigbang/secret.yaml
+2
-0
No files found.
chart/templates/bigbang/secret.yaml
View file @
d29d30a3
{{
- if .Values.secret.enabled -
}}
{{
- if .Values.secret.enabled -
}}
{{
- if not (lookup "v1" "Secret" "" "
{{
template 'nexus.name' .
}}
-secret")
}}
apiVersion
:
v1
apiVersion
:
v1
kind
:
Secret
kind
:
Secret
metadata
:
metadata
:
...
@@ -14,3 +15,4 @@ data:
...
@@ -14,3 +15,4 @@ data:
admin.password
:
{{
randAlphaNum 12 | b64enc | quote
}}
admin.password
:
{{
randAlphaNum 12 | b64enc | quote
}}
admin.username
:
YWRtaW4K
admin.username
:
YWRtaW4K
{{
- end
}}
{{
- end
}}
{{
- end
}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment