-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2826 from andyzhangx/add-chart-versions12
doc: update new chart versions
- Loading branch information
Showing
95 changed files
with
14,053 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: v1.29.12 | ||
description: Azure disk Container Storage Interface (CSI) Storage Plugin | ||
name: azuredisk-csi-driver | ||
version: v1.29.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The Azure Disk CSI Driver is getting deployed to your cluster. | ||
|
||
To check Azure Disk CSI Driver pods status, please run: | ||
|
||
kubectl --namespace={{ .Release.Namespace }} get pods --selector="release={{ .Release.Name }}" --watch |
26 changes: 26 additions & 0 deletions
26
charts/v1.29.12/azuredisk-csi-driver/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
|
||
{{/* Expand the name of the chart.*/}} | ||
{{- define "azuredisk.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* labels for helm resources */}} | ||
{{- define "azuredisk.labels" -}} | ||
labels: | ||
app.kubernetes.io/instance: "{{ .Release.Name }}" | ||
app.kubernetes.io/managed-by: "{{ .Release.Service }}" | ||
app.kubernetes.io/name: "{{ template "azuredisk.name" . }}" | ||
app.kubernetes.io/version: "{{ .Chart.AppVersion }}" | ||
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" | ||
{{- end -}} | ||
|
||
{{/* pull secrets for containers */}} | ||
{{- define "azuredisk.pullSecrets" -}} | ||
{{- if .Values.imagePullSecrets }} | ||
imagePullSecrets: | ||
{{- range .Values.imagePullSecrets }} | ||
- name: {{ . }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end -}} |
840 changes: 840 additions & 0 deletions
840
charts/v1.29.12/azuredisk-csi-driver/templates/crd-csi-snapshot.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
324 changes: 324 additions & 0 deletions
324
charts/v1.29.12/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,324 @@ | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: {{ .Values.controller.name }} | ||
namespace: {{ .Release.Namespace }} | ||
{{ include "azuredisk.labels" . | indent 2 }} | ||
{{- with .Values.controller.labels }} | ||
{{ . | toYaml | indent 4 }} | ||
{{- end }} | ||
{{- with .Values.controller.annotations }} | ||
annotations: | ||
{{ . | toYaml | indent 4 }} | ||
{{- end }} | ||
spec: | ||
replicas: {{ .Values.controller.replicas }} | ||
selector: | ||
matchLabels: | ||
app: {{ .Values.controller.name }} | ||
template: | ||
metadata: | ||
{{ include "azuredisk.labels" . | indent 6 }} | ||
app: {{ .Values.controller.name }} | ||
{{- if .Values.workloadIdentity.clientID }} | ||
azure.workload.identity/use: "true" | ||
{{- end }} | ||
{{- with .Values.controller.podLabels }} | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} | ||
{{- with .Values.controller.podAnnotations }} | ||
annotations: | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} | ||
spec: | ||
hostNetwork: {{ .Values.controller.hostNetwork }} | ||
serviceAccountName: {{ .Values.serviceAccount.controller }} | ||
nodeSelector: | ||
kubernetes.io/os: linux | ||
{{- with .Values.controller.nodeSelector }} | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} | ||
{{- if .Values.controller.runOnMaster}} | ||
node-role.kubernetes.io/master: "" | ||
{{- end}} | ||
{{- if .Values.controller.runOnControlPlane}} | ||
node-role.kubernetes.io/control-plane: "" | ||
{{- end}} | ||
priorityClassName: system-cluster-critical | ||
securityContext: | ||
seccompProfile: | ||
type: RuntimeDefault | ||
{{- with .Values.controller.tolerations }} | ||
tolerations: | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} | ||
{{- with .Values.controller.affinity }} | ||
affinity: | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} | ||
{{- include "azuredisk.pullSecrets" . | indent 6 }} | ||
containers: | ||
- name: csi-provisioner | ||
{{- if hasPrefix "/" .Values.image.csiProvisioner.repository }} | ||
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}" | ||
{{- else }} | ||
image: "{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}" | ||
{{- end }} | ||
args: | ||
- "--feature-gates=Topology=true,HonorPVReclaimPolicy=true" | ||
- "--csi-address=$(ADDRESS)" | ||
- "--v=2" | ||
- "--timeout=30s" | ||
- "--leader-election" | ||
- "--leader-election-namespace={{ .Release.Namespace }}" | ||
- "--worker-threads={{ .Values.controller.provisionerWorkerThreads }}" | ||
- "--extra-create-metadata=true" | ||
- "--strict-topology=true" | ||
- "--kube-api-qps=50" | ||
- "--kube-api-burst=100" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
resources: {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }} | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
- name: csi-attacher | ||
{{- if hasPrefix "/" .Values.image.csiAttacher.repository }} | ||
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}" | ||
{{- else }} | ||
image: "{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}" | ||
{{- end }} | ||
args: | ||
- "-v=2" | ||
- "-csi-address=$(ADDRESS)" | ||
- "-timeout=1200s" | ||
- "-leader-election" | ||
- "--leader-election-namespace={{ .Release.Namespace }}" | ||
- "-worker-threads={{ .Values.controller.attacherWorkerThreads }}" | ||
- "-kube-api-qps=200" | ||
- "-kube-api-burst=400" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
resources: {{- toYaml .Values.controller.resources.csiAttacher | nindent 12 }} | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
- name: csi-snapshotter | ||
{{- if hasPrefix "/" .Values.snapshot.image.csiSnapshotter.repository }} | ||
image: "{{ .Values.image.baseRepo }}{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}" | ||
{{- else }} | ||
image: "{{ .Values.snapshot.image.csiSnapshotter.repository }}:{{ .Values.snapshot.image.csiSnapshotter.tag }}" | ||
{{- end }} | ||
args: | ||
- "-csi-address=$(ADDRESS)" | ||
- "-leader-election" | ||
- "--leader-election-namespace={{ .Release.Namespace }}" | ||
- "-v=2" | ||
- "--timeout=1200s" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
resources: {{- toYaml .Values.controller.resources.csiSnapshotter | nindent 12 }} | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
- name: csi-resizer | ||
{{- if hasPrefix "/" .Values.image.csiResizer.repository }} | ||
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}" | ||
{{- else }} | ||
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}" | ||
{{- end }} | ||
args: | ||
- "-csi-address=$(ADDRESS)" | ||
- "-v=2" | ||
- "-leader-election" | ||
- "--leader-election-namespace={{ .Release.Namespace }}" | ||
- '-handle-volume-inuse-error=false' | ||
- '-feature-gates=RecoverVolumeExpansionFailure=true' | ||
- "-timeout=240s" | ||
env: | ||
- name: ADDRESS | ||
value: /csi/csi.sock | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
resources: {{- toYaml .Values.controller.resources.csiResizer | nindent 12 }} | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
- name: liveness-probe | ||
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }} | ||
image: "{{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}" | ||
{{- else }} | ||
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}" | ||
{{- end }} | ||
args: | ||
- --csi-address=/csi/csi.sock | ||
- --probe-timeout=3s | ||
{{- if eq .Values.controller.hostNetwork true }} | ||
- --http-endpoint=localhost:{{ .Values.controller.livenessProbe.healthPort }} | ||
{{- else }} | ||
- --health-port={{ .Values.controller.livenessProbe.healthPort }} | ||
{{- end }} | ||
- --v=2 | ||
volumeMounts: | ||
- name: socket-dir | ||
mountPath: /csi | ||
resources: {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }} | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
{{- if eq .Values.controller.enableTrafficManager true }} | ||
- image: mcr.microsoft.com/aks/ccp/ccp-auto-thrust:master.221118.2 | ||
imagePullPolicy: IfNotPresent | ||
name: proxy | ||
command: | ||
- /ccp-auto-thrust | ||
args: | ||
- "--port={{ .Values.controller.trafficManagerPort }}" | ||
ports: | ||
- containerPort: {{ .Values.controller.trafficManagerPort }} | ||
protocol: TCP | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
{{- end }} | ||
- name: azuredisk | ||
{{- if hasPrefix "/" .Values.image.azuredisk.repository }} | ||
image: "{{ .Values.image.baseRepo }}{{ .Values.image.azuredisk.repository }}:{{ .Values.image.azuredisk.tag }}" | ||
{{- else }} | ||
image: "{{ .Values.image.azuredisk.repository }}:{{ .Values.image.azuredisk.tag }}" | ||
{{- end }} | ||
args: | ||
- "--v={{ .Values.controller.logLevel }}" | ||
- "--endpoint=$(CSI_ENDPOINT)" | ||
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}" | ||
- "--disable-avset-nodes={{ .Values.controller.disableAvailabilitySetNodes }}" | ||
- "--vm-type={{ .Values.controller.vmType }}" | ||
- "--drivername={{ .Values.driver.name }}" | ||
- "--cloud-config-secret-name={{ .Values.controller.cloudConfigSecretName }}" | ||
- "--cloud-config-secret-namespace={{ .Values.controller.cloudConfigSecretNamespace }}" | ||
- "--custom-user-agent={{ .Values.driver.customUserAgent }}" | ||
- "--user-agent-suffix={{ .Values.driver.userAgentSuffix }}" | ||
- "--allow-empty-cloud-config={{ .Values.controller.allowEmptyCloudConfig }}" | ||
- "--vmss-cache-ttl-seconds={{ .Values.controller.vmssCacheTTLInSeconds }}" | ||
- "--enable-traffic-manager={{ .Values.controller.enableTrafficManager }}" | ||
- "--traffic-manager-port={{ .Values.controller.trafficManagerPort }}" | ||
- "--enable-otel-tracing={{ .Values.controller.otelTracing.enabled }}" | ||
- "--check-disk-lun-collision=true" | ||
ports: | ||
- containerPort: {{ .Values.controller.metricsPort }} | ||
name: metrics | ||
protocol: TCP | ||
{{- if ne .Values.controller.hostNetwork true }} | ||
- containerPort: {{ .Values.controller.livenessProbe.healthPort }} | ||
name: healthz | ||
protocol: TCP | ||
{{- end }} | ||
livenessProbe: | ||
failureThreshold: 5 | ||
httpGet: | ||
path: /healthz | ||
{{- if eq .Values.controller.hostNetwork true }} | ||
host: localhost | ||
port: {{ .Values.controller.livenessProbe.healthPort }} | ||
{{- else }} | ||
port: healthz | ||
{{- end }} | ||
initialDelaySeconds: 30 | ||
timeoutSeconds: 10 | ||
periodSeconds: 30 | ||
env: | ||
- name: AZURE_CREDENTIAL_FILE | ||
valueFrom: | ||
configMapKeyRef: | ||
name: {{ .Values.azureCredentialFileConfigMap }} | ||
key: path | ||
optional: true | ||
- name: CSI_ENDPOINT | ||
value: unix:///csi/csi.sock | ||
{{- if ne .Values.driver.httpsProxy "" }} | ||
- name: HTTPS_PROXY | ||
value: {{ .Values.driver.httpsProxy }} | ||
{{- end }} | ||
{{- if ne .Values.driver.httpProxy "" }} | ||
- name: HTTP_PROXY | ||
value: {{ .Values.driver.httpProxy }} | ||
{{- end }} | ||
{{- if ne .Values.driver.noProxy "" }} | ||
- name: NO_PROXY | ||
value: {{ .Values.driver.noProxy }} | ||
{{- end }} | ||
- name: AZURE_GO_SDK_LOG_LEVEL | ||
value: {{ .Values.driver.azureGoSDKLogLevel }} | ||
{{- if eq .Values.cloud "AzureStackCloud" }} | ||
- name: AZURE_ENVIRONMENT_FILEPATH | ||
value: /etc/kubernetes/azurestackcloud.json | ||
{{- end }} | ||
{{- if .Values.controller.otelTracing.enabled }} | ||
- name: OTEL_SERVICE_NAME | ||
value: {{ .Values.controller.otelTracing.otelServiceName }} | ||
- name: OTEL_EXPORTER_OTLP_ENDPOINT | ||
value: {{ .Values.controller.otelTracing.otelExporterEndpoint }} | ||
{{- end }} | ||
imagePullPolicy: {{ .Values.image.azuredisk.pullPolicy }} | ||
volumeMounts: | ||
- mountPath: /csi | ||
name: socket-dir | ||
- mountPath: /etc/kubernetes/ | ||
name: azure-cred | ||
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }} | ||
- name: ssl | ||
mountPath: /etc/ssl/certs | ||
readOnly: true | ||
{{- end }} | ||
{{- if eq .Values.linux.distro "fedora" }} | ||
- name: ssl | ||
mountPath: /etc/ssl/certs | ||
readOnly: true | ||
- name: ssl-pki | ||
mountPath: /etc/pki/ca-trust/extracted | ||
readOnly: true | ||
{{- end }} | ||
resources: {{- toYaml .Values.controller.resources.azuredisk | nindent 12 }} | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
volumes: | ||
- name: socket-dir | ||
emptyDir: {} | ||
- name: azure-cred | ||
hostPath: | ||
path: /etc/kubernetes/ | ||
type: DirectoryOrCreate | ||
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }} | ||
- name: ssl | ||
hostPath: | ||
path: /etc/ssl/certs | ||
{{- end }} | ||
{{- if eq .Values.linux.distro "fedora" }} | ||
- name: ssl | ||
hostPath: | ||
path: /etc/ssl/certs | ||
- name: ssl-pki | ||
hostPath: | ||
path: /etc/pki/ca-trust/extracted | ||
{{- end }} |
Oops, something went wrong.