move spiffe-csi-driver and node-driver-registrar to values
Signed-off-by: Batuhan Apaydın <[email protected]> Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -65,6 +65,10 @@ Kubernetes: `>=1.21.0-0`
|
||||
| fullnameOverride | string | `""` | |
|
||||
| imagePullSecrets | list | `[]` | |
|
||||
| nameOverride | string | `""` | |
|
||||
| nodeDriverRegistrar.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| nodeDriverRegistrar.image.repository | string | `"quay.io/k8scsi/csi-node-driver-registrar"` | |
|
||||
| nodeDriverRegistrar.image.tag | string | `"v2.0.1"` | |
|
||||
| nodeDriverRegistrar.resources | object | `{}` | |
|
||||
| oidc.acme.cacheDir | string | `"/run/spire"` | |
|
||||
| oidc.acme.directoryUrl | string | `"https://acme-v02.api.letsencrypt.org/directory"` | |
|
||||
| oidc.acme.emailAddress | string | `"[email protected]"` | |
|
||||
|
||||
@@ -63,8 +63,8 @@ spec:
|
||||
{{- toYaml .Values.agent.resources | nindent 12 }}
|
||||
# This is the container which runs the SPIFFE CSI driver.
|
||||
- name: spiffe-csi-driver
|
||||
image: ghcr.io/spiffe/spiffe-csi-driver:nightly
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: {{ .Values.csiDriver.image.repository}}:{{ .Values.csiDriver.image.tag}}
|
||||
imagePullPolicy: {{ .Values.csiDriver.image.pullPolicy}}
|
||||
args: [
|
||||
"-workload-api-socket-dir", "/spire-agent-socket",
|
||||
"-csi-socket-path", "/spiffe-csi/csi.sock",
|
||||
@@ -98,8 +98,8 @@ spec:
|
||||
# of all the little details required to register a CSI driver with
|
||||
# the kubelet.
|
||||
- name: node-driver-registrar
|
||||
image: quay.io/k8scsi/csi-node-driver-registrar:v2.0.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: {{ .Values.nodeDriverRegistrar.image.repository }}:{{ .Values.nodeDriverRegistrar.image.tag }}
|
||||
imagePullPolicy: {{ .Values.nodeDriverRegistrar.image.pullPolicy }}
|
||||
args: [
|
||||
"-csi-address", "/spiffe-csi/csi.sock",
|
||||
"-kubelet-registration-path", "/var/lib/kubelet/plugins/csi.spiffe.io/csi.sock",
|
||||
@@ -113,7 +113,7 @@ spec:
|
||||
- name: kubelet-plugin-registration-dir
|
||||
mountPath: /registration
|
||||
resources:
|
||||
{{- toYaml .Values.csiDriver.resources | nindent 12 }}
|
||||
{{- toYaml .Values.nodeDriverRegistrar.resources | nindent 12 }}
|
||||
volumes:
|
||||
- name: spire-config
|
||||
configMap:
|
||||
|
||||
@@ -72,6 +72,23 @@ csiDriver:
|
||||
# cpu: 100m
|
||||
# memory: 64Mi
|
||||
|
||||
nodeDriverRegistrar:
|
||||
image:
|
||||
repository: quay.io/k8scsi/csi-node-driver-registrar
|
||||
pullPolicy: IfNotPresent
|
||||
tag: v2.0.1
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# requests:
|
||||
# cpu: 50m
|
||||
# memory: 32Mi
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 64Mi
|
||||
|
||||
oidc:
|
||||
enabled: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user