Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Common
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charts
Common
Commits
fdcfe84e
Commit
fdcfe84e
authored
1 month ago
by
Andri Joos
Browse files
Options
Downloads
Patches
Plain Diff
make secret type editable
parent
589b8aeb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#7707
passed with stages
Stage:
Stage:
in 35 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/templates/_secret.tpl
+1
-1
1 addition, 1 deletion
common/templates/_secret.tpl
example/values.yaml
+1
-0
1 addition, 0 deletions
example/values.yaml
with
2 additions
and
1 deletion
common/templates/_secret.tpl
+
1
−
1
View file @
fdcfe84e
...
...
@@ -3,7 +3,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ .Values.name | default "secret" | quote }}
type: Opaque
type:
{{ .Values.type | default "
Opaque
" }}
data:
{{- (include "common.secret.data" .) | nindent 2 }}
{{- end }}
This diff is collapsed.
Click to expand it.
example/values.yaml
+
1
−
0
View file @
fdcfe84e
...
...
@@ -19,6 +19,7 @@ extraIngress:
secret
:
name
:
example-secret
type
:
Generic
data
:
username
:
dXNlcm5hbWU=
# Base64-encoded 'username'
password
:
cGFzc3dvcmQ=
# Base64-encoded 'password'
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment