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
6 changes: 6 additions & 0 deletions charts/portainer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ spec:
secret:
secretName: {{ .Values.mtls.existingSecret }}
{{- end }}
{{- with .Values.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
{{- if .Values.enterpriseEdition.enabled }}
Expand Down Expand Up @@ -86,6 +89,9 @@ spec:
mountPath: /certs/mtls
readOnly: true
{{- end }}
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
{{- if not .Values.tls.force }}
- name: http
Expand Down
13 changes: 13 additions & 0 deletions charts/portainer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ serviceAccount:
annotations: {}
name: portainer-sa-clusteradmin


# -- List of extra mounts to add (normally used with extraVolumes)
extraVolumeMounts: []
# - mountPath: /etc/ssl/certs/ca-certificates.crt
# name: host-ca-certificates
# readOnly: true

# -- List of extra volumes to add
extraVolumes: []
# - hostPath:
# path: /etc/ssl/certs/ca-certificates.crt
# name: host-ca-certificates

# This flag provides the ability to enable or disable RBAC-related resources during the deployment of the Portainer application
# If you are using Portainer to manage the K8s cluster it is deployed to, this flag must be set to true
localMgmt: true
Expand Down