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 | `""` | |
|
| fullnameOverride | string | `""` | |
|
||||||
| imagePullSecrets | list | `[]` | |
|
| imagePullSecrets | list | `[]` | |
|
||||||
| nameOverride | string | `""` | |
|
| 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.cacheDir | string | `"/run/spire"` | |
|
||||||
| oidc.acme.directoryUrl | string | `"https://acme-v02.api.letsencrypt.org/directory"` | |
|
| oidc.acme.directoryUrl | string | `"https://acme-v02.api.letsencrypt.org/directory"` | |
|
||||||
| oidc.acme.emailAddress | string | `"[email protected]"` | |
|
| oidc.acme.emailAddress | string | `"[email protected]"` | |
|
||||||
|
|||||||
@@ -63,8 +63,8 @@ spec:
|
|||||||
{{- toYaml .Values.agent.resources | nindent 12 }}
|
{{- toYaml .Values.agent.resources | nindent 12 }}
|
||||||
# This is the container which runs the SPIFFE CSI driver.
|
# This is the container which runs the SPIFFE CSI driver.
|
||||||
- name: spiffe-csi-driver
|
- name: spiffe-csi-driver
|
||||||
image: ghcr.io/spiffe/spiffe-csi-driver:nightly
|
image: {{ .Values.csiDriver.image.repository}}:{{ .Values.csiDriver.image.tag}}
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: {{ .Values.csiDriver.image.pullPolicy}}
|
||||||
args: [
|
args: [
|
||||||
"-workload-api-socket-dir", "/spire-agent-socket",
|
"-workload-api-socket-dir", "/spire-agent-socket",
|
||||||
"-csi-socket-path", "/spiffe-csi/csi.sock",
|
"-csi-socket-path", "/spiffe-csi/csi.sock",
|
||||||
@@ -98,8 +98,8 @@ spec:
|
|||||||
# of all the little details required to register a CSI driver with
|
# of all the little details required to register a CSI driver with
|
||||||
# the kubelet.
|
# the kubelet.
|
||||||
- name: node-driver-registrar
|
- name: node-driver-registrar
|
||||||
image: quay.io/k8scsi/csi-node-driver-registrar:v2.0.1
|
image: {{ .Values.nodeDriverRegistrar.image.repository }}:{{ .Values.nodeDriverRegistrar.image.tag }}
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: {{ .Values.nodeDriverRegistrar.image.pullPolicy }}
|
||||||
args: [
|
args: [
|
||||||
"-csi-address", "/spiffe-csi/csi.sock",
|
"-csi-address", "/spiffe-csi/csi.sock",
|
||||||
"-kubelet-registration-path", "/var/lib/kubelet/plugins/csi.spiffe.io/csi.sock",
|
"-kubelet-registration-path", "/var/lib/kubelet/plugins/csi.spiffe.io/csi.sock",
|
||||||
@@ -113,7 +113,7 @@ spec:
|
|||||||
- name: kubelet-plugin-registration-dir
|
- name: kubelet-plugin-registration-dir
|
||||||
mountPath: /registration
|
mountPath: /registration
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.csiDriver.resources | nindent 12 }}
|
{{- toYaml .Values.nodeDriverRegistrar.resources | nindent 12 }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: spire-config
|
- name: spire-config
|
||||||
configMap:
|
configMap:
|
||||||
|
|||||||
@@ -72,6 +72,23 @@ csiDriver:
|
|||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 64Mi
|
# 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:
|
oidc:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user