add `additionalVolumes` and `additionalVolumeMounts` to helm chart (#952)
* added additional volumes and volumeMounts
This commit is contained in:
parent
62995fec5b
commit
eefb48ba3f
|
|
@ -18,6 +18,8 @@ All additional docs are kept in the `docs/` folder, this README is solely for do
|
||||||
| `githubAPICacheDuration` | Set the cache period for API calls | |
|
| `githubAPICacheDuration` | Set the cache period for API calls | |
|
||||||
| `githubEnterpriseServerURL` | Set the URL for a self-hosted GitHub Enterprise Server | |
|
| `githubEnterpriseServerURL` | Set the URL for a self-hosted GitHub Enterprise Server | |
|
||||||
| `logLevel` | Set the log level of the controller container | |
|
| `logLevel` | Set the log level of the controller container | |
|
||||||
|
| `additionalVolumes` | Set additional volumes to add to the manager container | |
|
||||||
|
| `additionalVolumeMounts` | Set additional volume mounts to add to the manager container | |
|
||||||
| `authSecret.create` | Deploy the controller auth secret | false |
|
| `authSecret.create` | Deploy the controller auth secret | false |
|
||||||
| `authSecret.name` | Set the name of the auth secret | controller-manager |
|
| `authSecret.name` | Set the name of the auth secret | controller-manager |
|
||||||
| `authSecret.annotations` | Set annotations for the auth Secret | |
|
| `authSecret.annotations` | Set annotations for the auth Secret | |
|
||||||
|
|
|
||||||
|
|
@ -114,6 +114,9 @@ spec:
|
||||||
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
||||||
name: cert
|
name: cert
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
{{- if .Values.additionalVolumeMounts }}
|
||||||
|
{{- toYaml .Values.additionalVolumeMounts | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.metrics.proxy.enabled }}
|
{{- if .Values.metrics.proxy.enabled }}
|
||||||
- args:
|
- args:
|
||||||
- "--secure-listen-address=0.0.0.0:{{ .Values.metrics.port }}"
|
- "--secure-listen-address=0.0.0.0:{{ .Values.metrics.port }}"
|
||||||
|
|
@ -142,6 +145,9 @@ spec:
|
||||||
secretName: {{ include "actions-runner-controller.servingCertName" . }}
|
secretName: {{ include "actions-runner-controller.servingCertName" . }}
|
||||||
- name: tmp
|
- name: tmp
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
{{- if .Values.additionalVolumes }}
|
||||||
|
{{- toYaml .Values.additionalVolumes | nindent 8}}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
||||||
|
|
@ -126,6 +126,14 @@ env:
|
||||||
# https_proxy: "proxy.com:8080"
|
# https_proxy: "proxy.com:8080"
|
||||||
# no_proxy: ""
|
# no_proxy: ""
|
||||||
|
|
||||||
|
## specify additional volumes to mount in the manager container, this can be used
|
||||||
|
## to specify additional storage of material or to inject files from ConfigMaps
|
||||||
|
## into the running container
|
||||||
|
additionalVolumes: []
|
||||||
|
|
||||||
|
## specify where the additional volumes are mounted in the manager container
|
||||||
|
additionalVolumeMounts: []
|
||||||
|
|
||||||
scope:
|
scope:
|
||||||
# If true, the controller will only watch custom resources in a single namespace
|
# If true, the controller will only watch custom resources in a single namespace
|
||||||
singleNamespace: false
|
singleNamespace: false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue