Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
85660754
Commit
85660754
authored
Aug 17, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use helm uuidv4 for admin passwords if not overridden by values.
parent
6d970389
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
admin-secret.yaml
charts/viking-service/templates/admin-secret.yaml
+8
-0
values.yaml
charts/viking-service/values.yaml
+2
-2
No files found.
charts/viking-service/templates/admin-secret.yaml
View file @
85660754
...
...
@@ -10,5 +10,13 @@ metadata:
viking.uplex.de/secret
:
admin
type
:
Opaque
data
:
{{
- if .Values.vikingService.secrets.admin
}}
admin
:
{{
.Values.vikingService.secrets.admin | b64enc | quote
}}
{{
- else
}}
admin
:
{{
uuidv4 | b64enc | quote
}}
{{
- end
}}
{{
- if .Values.vikingService.secrets.dataplaneapi
}}
dataplaneapi
:
{{
.Values.vikingService.secrets.dataplaneapi | b64enc | quote
}}
{{
- else
}}
dataplaneapi
:
{{
uuidv4 | b64enc | quote
}}
{{
- end
}}
charts/viking-service/values.yaml
View file @
85660754
...
...
@@ -45,8 +45,8 @@ vikingService:
minReadySeconds
:
0
secrets
:
admin
:
"
21d0ac6c-83d5-11ea-8acc-1ff3820da75e
"
dataplaneapi
:
"
e24bb312-cb21-46d6-aaec-8ae676f06fea
"
admin
:
"
"
dataplaneapi
:
"
"
# Optionally customize the pod dnsConfig.
dnsConfig
:
{}
...
...
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