-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b93d12
commit c4099a2
Showing
28 changed files
with
1,427 additions
and
41 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
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
Binary file not shown.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: latest | ||
appVersion: v1.15.0 | ||
description: SMB CSI Driver for Kubernetes | ||
name: csi-driver-smb | ||
version: v0.0.0 | ||
version: v1.15.0 |
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
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.15.0 | ||
description: SMB CSI Driver for Kubernetes | ||
name: csi-driver-smb | ||
version: v1.15.0 |
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 CSI SMB Driver is getting deployed to your cluster. | ||
|
||
To check CSI SMB Driver pods status, please run: | ||
|
||
kubectl --namespace={{ .Release.Namespace }} get pods --selector="app.kubernetes.io/name={{ .Release.Name }}" --watch |
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,29 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
|
||
{{/* Expand the name of the chart.*/}} | ||
{{- define "smb.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* labels for helm resources */}} | ||
{{- define "smb.labels" -}} | ||
labels: | ||
app.kubernetes.io/instance: "{{ .Release.Name }}" | ||
app.kubernetes.io/managed-by: "{{ .Release.Service }}" | ||
app.kubernetes.io/name: "{{ template "smb.name" . }}" | ||
app.kubernetes.io/version: "{{ .Chart.AppVersion }}" | ||
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" | ||
{{- if .Values.customLabels }} | ||
{{ toYaml .Values.customLabels | indent 2 -}} | ||
{{- end }} | ||
{{- end -}} | ||
|
||
{{/* pull secrets for containers */}} | ||
{{- define "smb.pullSecrets" -}} | ||
{{- if .Values.imagePullSecrets }} | ||
imagePullSecrets: | ||
{{- range .Values.imagePullSecrets }} | ||
- name: {{ . }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end -}} |
48 changes: 48 additions & 0 deletions
48
charts/v1.15.0/csi-driver-smb/templates/csi-proxy-windows.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,48 @@ | ||
{{- if .Values.windows.csiproxy.enabled}} | ||
kind: DaemonSet | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: {{ .Values.windows.csiproxy.dsName }} | ||
namespace: {{ .Release.Namespace }} | ||
{{ include "smb.labels" . | indent 2 }} | ||
spec: | ||
updateStrategy: | ||
rollingUpdate: | ||
maxUnavailable: {{ .Values.node.maxUnavailable }} | ||
type: RollingUpdate | ||
selector: | ||
matchLabels: | ||
app: {{ .Values.windows.csiproxy.dsName }} | ||
template: | ||
metadata: | ||
{{ include "smb.labels" . | indent 6 }} | ||
app: {{ .Values.windows.csiproxy.dsName }} | ||
spec: | ||
{{- with .Values.windows.csiproxy.tolerations }} | ||
tolerations: | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} | ||
securityContext: | ||
windowsOptions: | ||
hostProcess: true | ||
runAsUserName: {{ .Values.windows.csiproxy.username | quote }} | ||
hostNetwork: true | ||
nodeSelector: | ||
{{- with .Values.windows.csiproxy.nodeSelector }} | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} | ||
{{- with .Values.node.affinity }} | ||
affinity: | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} | ||
priorityClassName: {{ .Values.priorityClassName | quote }} | ||
{{- include "smb.pullSecrets" . | indent 6 }} | ||
containers: | ||
- name: csi-proxy | ||
{{- if hasPrefix "/" .Values.image.csiproxy.repository }} | ||
image: "{{ .Values.image.baseRepo }}{{ .Values.image.csiproxy.repository }}:{{ .Values.image.csiproxy.tag }}" | ||
{{- else }} | ||
image: "{{ .Values.image.csiproxy.repository }}:{{ .Values.image.csiproxy.tag }}" | ||
{{- end }} | ||
imagePullPolicy: {{ .Values.image.csiproxy.pullPolicy }} | ||
{{- end -}} |
Oops, something went wrong.