Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions charts/config/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{{- if ne (default false (.Values.secret).notCreate) true }}
apiVersion: v1
kind: Secret
metadata:
metadata:
name: {{ include "cv.metadataname2" (list . "cvcreds") }}
namespace: {{ include "cv.namespace" . }}
data:
# This section contains the credentials to connect to the Commserver.
# This section contains the credentials to connect to the Commserver.
# User names and password should be base-64 encoded.
{{- if (.Values.secret).user }}
CV_COMMCELL_USER: {{ or (.Values.secret).user "" | b64enc }}
Expand All @@ -21,13 +22,13 @@ data:
{{- if (.Values.secret).CCCertificatePassword }}
CCCertificatePassword: {{ or (.Values.secret).CCCertificatePassword "" | b64enc}}
{{- end }}

{{- end }}
---

{{if (.Values.pullsecret).create }}
apiVersion: v1
kind: Secret
metadata:
metadata:
name: {{ include "cv.metadataname2" (list . .Values.pullsecret.name) }}
namespace: {{ include "cv.namespace" . }}
type: kubernetes.io/dockerconfigjson
Expand Down
1 change: 1 addition & 0 deletions charts/config/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# csClientName: # Optional. client name of the Commserve
# secret: # username/password or authcode used for registering the commvault components with the commserve
# when installing the commserve component the user and password is required for first user
# notCreate: # Optional. Set to true if secret should not be created as part of config creation
# user: # Optional. Plain text user name used for install.
# password: # Optional. Plain text password.
# authcode: # Optional. Authcode can be given in place of username/password
Expand Down