mirror of https://git.rancher.io/charts
Checkout current packages from dev-v2.6-source
```bash git fetch upstream git checkout upstream/dev-v2.6-source -- packages; git reset HEAD; git checkout -- packages/README.md ``` This overwrites the previous changes based on stuff currently in dev-v2.6-source today.pull/1208/head
parent
551327b14e
commit
1107be9199
|
@ -0,0 +1,12 @@
|
||||||
|
--- charts-original/Chart.yaml
|
||||||
|
+++ charts/Chart.yaml
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
catalog.cattle.io/release-name: rancher-eks-operator-crd
|
||||||
|
apiVersion: v2
|
||||||
|
-appVersion: 2.0.1-rc1
|
||||||
|
+appVersion: 2.0.1
|
||||||
|
description: EKS Operator CustomResourceDefinitions
|
||||||
|
name: rancher-eks-operator-crd
|
||||||
|
-version: 2.0.1-rc1
|
||||||
|
+version: 2.0.1
|
|
@ -0,0 +1,3 @@
|
||||||
|
url: https://github.com/rancher/eks-operator/releases/download/v2.0.1-rc1/rancher-eks-operator-crd-2.0.1-rc1.tgz
|
||||||
|
packageVersion: 00
|
||||||
|
releaseCandidateVersion: 01
|
|
@ -0,0 +1,15 @@
|
||||||
|
--- charts-original/Chart.yaml
|
||||||
|
+++ charts/Chart.yaml
|
||||||
|
@@ -9,10 +9,10 @@
|
||||||
|
catalog.cattle.io/release-name: rancher-eks-operator
|
||||||
|
catalog.cattle.io/scope: management
|
||||||
|
apiVersion: v2
|
||||||
|
-appVersion: 2.0.1-rc1
|
||||||
|
+appVersion: 2.0.1
|
||||||
|
description: A Helm chart for provisioning EKS clusters
|
||||||
|
home: https://github.com/rancher/eks-operator
|
||||||
|
name: rancher-eks-operator
|
||||||
|
sources:
|
||||||
|
- https://github.com/rancher/eks-operator
|
||||||
|
-version: 2.0.1-rc1
|
||||||
|
+version: 2.0.1
|
|
@ -0,0 +1,3 @@
|
||||||
|
url: https://github.com/rancher/eks-operator/releases/download/v2.0.1-rc1/rancher-eks-operator-2.0.1-rc1.tgz
|
||||||
|
packageVersion: 00
|
||||||
|
releaseCandidateVersion: 01
|
|
@ -15,13 +15,35 @@ spec:
|
||||||
inputTail:
|
inputTail:
|
||||||
Tag: "aks"
|
Tag: "aks"
|
||||||
Path: "/var/log/azure/kubelet-status.log"
|
Path: "/var/log/azure/kubelet-status.log"
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
Buffer_Chunk_Size: {{ .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
Buffer_Max_Size: {{ .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
Mem_Buf_Limit: {{ .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
Multiline_Flush: {{ .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorage }}
|
||||||
|
bufferStorage: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
{{- with (concat (.Values.tolerations) (.Values.fluentbit.tolerations)) }}
|
||||||
{{- with $total_tolerations }}
|
|
||||||
tolerations: {{- toYaml . | nindent 6 }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
|
@ -37,16 +59,25 @@ spec:
|
||||||
configReloaderImage:
|
configReloaderImage:
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
||||||
tag: {{ .Values.images.config_reloader.tag }}
|
tag: {{ .Values.images.config_reloader.tag }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentd.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
disablePvc: {{ .Values.disablePvc }}
|
disablePvc: {{ .Values.disablePvc }}
|
||||||
|
{{- if .Values.fluentd.replicas }}
|
||||||
|
scaling:
|
||||||
|
replicas: {{ .Values.fluentd.replicas }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.tolerations }}
|
{{- with (default .Values.tolerations .Values.fluentd.tolerations) }}
|
||||||
tolerations: {{- toYaml . | nindent 6 }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with (default .Values.nodeSelector .Values.fluentd.nodeSelector) }}
|
||||||
nodeSelector: {{- toYaml . | nindent 6 }}
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.resources }}
|
{{- with .Values.fluentd.resources }}
|
||||||
|
|
|
@ -16,13 +16,35 @@ spec:
|
||||||
Tag: "eks"
|
Tag: "eks"
|
||||||
Path: "/var/log/messages"
|
Path: "/var/log/messages"
|
||||||
Parser: "syslog"
|
Parser: "syslog"
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
Buffer_Chunk_Size: {{ .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
Buffer_Max_Size: {{ .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
Mem_Buf_Limit: {{ .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
Multiline_Flush: {{ .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorage }}
|
||||||
|
bufferStorage: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
{{- with (concat (.Values.tolerations) (.Values.fluentbit.tolerations)) }}
|
||||||
{{- with $total_tolerations }}
|
|
||||||
tolerations: {{- toYaml . | nindent 6 }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
|
@ -38,16 +60,25 @@ spec:
|
||||||
configReloaderImage:
|
configReloaderImage:
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
||||||
tag: {{ .Values.images.config_reloader.tag }}
|
tag: {{ .Values.images.config_reloader.tag }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentd.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
disablePvc: {{ .Values.disablePvc }}
|
disablePvc: {{ .Values.disablePvc }}
|
||||||
|
{{- if .Values.fluentd.replicas }}
|
||||||
|
scaling:
|
||||||
|
replicas: {{ .Values.fluentd.replicas }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.tolerations }}
|
{{- with (default .Values.tolerations .Values.fluentd.tolerations) }}
|
||||||
tolerations: {{- toYaml . | nindent 6 }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with (default .Values.nodeSelector .Values.fluentd.nodeSelector) }}
|
||||||
nodeSelector: {{- toYaml . | nindent 6 }}
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.resources }}
|
{{- with .Values.fluentd.resources }}
|
||||||
|
|
|
@ -15,13 +15,35 @@ spec:
|
||||||
inputTail:
|
inputTail:
|
||||||
Tag: "gke"
|
Tag: "gke"
|
||||||
Path: "/var/log/kube-proxy.log"
|
Path: "/var/log/kube-proxy.log"
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
Buffer_Chunk_Size: {{ .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
Buffer_Max_Size: {{ .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
Mem_Buf_Limit: {{ .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
Multiline_Flush: {{ .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorage }}
|
||||||
|
bufferStorage: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
{{- with (concat (.Values.tolerations) (.Values.fluentbit.tolerations)) }}
|
||||||
{{- with $total_tolerations }}
|
|
||||||
tolerations: {{- toYaml . | nindent 6 }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
|
@ -37,16 +59,25 @@ spec:
|
||||||
configReloaderImage:
|
configReloaderImage:
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
||||||
tag: {{ .Values.images.config_reloader.tag }}
|
tag: {{ .Values.images.config_reloader.tag }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentd.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
disablePvc: {{ .Values.disablePvc }}
|
disablePvc: {{ .Values.disablePvc }}
|
||||||
|
{{- if .Values.fluentd.replicas }}
|
||||||
|
scaling:
|
||||||
|
replicas: {{ .Values.fluentd.replicas }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.tolerations }}
|
{{- with (default .Values.tolerations .Values.fluentd.tolerations) }}
|
||||||
tolerations: {{- toYaml . | nindent 6 }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with (default .Values.nodeSelector .Values.fluentd.nodeSelector) }}
|
||||||
nodeSelector: {{- toYaml . | nindent 6 }}
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.resources }}
|
{{- with .Values.fluentd.resources }}
|
||||||
|
|
|
@ -15,27 +15,46 @@ spec:
|
||||||
inputTail:
|
inputTail:
|
||||||
Tag: "k3s"
|
Tag: "k3s"
|
||||||
Path: "/var/log/k3s.log"
|
Path: "/var/log/k3s.log"
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
Buffer_Chunk_Size: {{ .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
Buffer_Max_Size: {{ .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
Mem_Buf_Limit: {{ .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
Multiline_Flush: {{ .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
{{- end }}
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- source: "/var/log/"
|
- source: "/var/log/"
|
||||||
destination: "/var/log"
|
destination: "/var/log"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorage }}
|
||||||
|
bufferStorage: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
{{- with (concat (.Values.tolerations) (.Values.fluentbit.tolerations)) }}
|
||||||
{{- with $total_tolerations }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentbit.resources }}
|
{{- with .Values.fluentbit.resources }}
|
||||||
resources:
|
resources: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
fluentd:
|
fluentd:
|
||||||
image:
|
image:
|
||||||
|
@ -44,23 +63,29 @@ spec:
|
||||||
configReloaderImage:
|
configReloaderImage:
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
||||||
tag: {{ .Values.images.config_reloader.tag }}
|
tag: {{ .Values.images.config_reloader.tag }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentd.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
disablePvc: {{ .Values.disablePvc }}
|
disablePvc: {{ .Values.disablePvc }}
|
||||||
|
{{- if .Values.fluentd.replicas }}
|
||||||
|
scaling:
|
||||||
|
replicas: {{ .Values.fluentd.replicas }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.tolerations }}
|
{{- with (default .Values.tolerations .Values.fluentd.tolerations) }}
|
||||||
tolerations:
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with (default .Values.nodeSelector .Values.fluentd.nodeSelector) }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.resources }}
|
{{- with .Values.fluentd.resources }}
|
||||||
resources:
|
resources: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.livenessProbe }}
|
{{- with .Values.fluentd.livenessProbe }}
|
||||||
livenessProbe: {{- toYaml . | nindent 6 }}
|
livenessProbe: {{- toYaml . | nindent 6 }}
|
||||||
|
|
|
@ -15,27 +15,46 @@ spec:
|
||||||
inputTail:
|
inputTail:
|
||||||
Tag: "k3s"
|
Tag: "k3s"
|
||||||
Path: "/var/log/syslog"
|
Path: "/var/log/syslog"
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
Buffer_Chunk_Size: {{ .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
Buffer_Max_Size: {{ .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
Mem_Buf_Limit: {{ .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
Multiline_Flush: {{ .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
{{- end }}
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- source: "/var/log/"
|
- source: "/var/log/"
|
||||||
destination: "/var/log"
|
destination: "/var/log"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorage }}
|
||||||
|
bufferStorage: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
{{- with (concat (.Values.tolerations) (.Values.fluentbit.tolerations)) }}
|
||||||
{{- with $total_tolerations }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentbit.resources }}
|
{{- with .Values.fluentbit.resources }}
|
||||||
resources:
|
resources: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
fluentd:
|
fluentd:
|
||||||
image:
|
image:
|
||||||
|
@ -44,23 +63,29 @@ spec:
|
||||||
configReloaderImage:
|
configReloaderImage:
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
||||||
tag: {{ .Values.images.config_reloader.tag }}
|
tag: {{ .Values.images.config_reloader.tag }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentd.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
disablePvc: {{ .Values.disablePvc }}
|
disablePvc: {{ .Values.disablePvc }}
|
||||||
|
{{- if .Values.fluentd.replicas }}
|
||||||
|
scaling:
|
||||||
|
replicas: {{ .Values.fluentd.replicas }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.tolerations }}
|
{{- with (default .Values.tolerations .Values.fluentd.tolerations) }}
|
||||||
tolerations:
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with (default .Values.nodeSelector .Values.fluentd.nodeSelector) }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.resources }}
|
{{- with .Values.fluentd.resources }}
|
||||||
resources:
|
resources: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.livenessProbe }}
|
{{- with .Values.fluentd.livenessProbe }}
|
||||||
livenessProbe: {{- toYaml . | nindent 6 }}
|
livenessProbe: {{- toYaml . | nindent 6 }}
|
||||||
|
|
|
@ -51,12 +51,10 @@ spec:
|
||||||
serviceAccountName: "{{ .Release.Name }}-rke-aggregator"
|
serviceAccountName: "{{ .Release.Name }}-rke-aggregator"
|
||||||
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
||||||
{{- with $total_tolerations }}
|
{{- with $total_tolerations }}
|
||||||
tolerations:
|
tolerations: {{- toYaml . | nindent 8 }}
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 8 }}
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
|
@ -33,12 +33,10 @@ spec:
|
||||||
name: machine-id
|
name: machine-id
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- with .Values.tolerations }}
|
{{- with .Values.tolerations }}
|
||||||
tolerations:
|
tolerations: {{- toYaml . | nindent 8 }}
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 8 }}
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: "{{ .Release.Name }}-rke2-journald-aggregator"
|
serviceAccountName: "{{ .Release.Name }}-rke2-journald-aggregator"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -13,10 +13,33 @@ spec:
|
||||||
inputTail:
|
inputTail:
|
||||||
Tag: "rke2"
|
Tag: "rke2"
|
||||||
Path: "/var/log/containers/*rke*.log"
|
Path: "/var/log/containers/*rke*.log"
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
Buffer_Chunk_Size: {{ .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
Buffer_Max_Size: {{ .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
Mem_Buf_Limit: {{ .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
Multiline_Flush: {{ .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
{{- end }}
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- source: "/var/log/containers/"
|
- source: "/var/log/containers/"
|
||||||
destination: "/var/log/containers/"
|
destination: "/var/log/containers/"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorage }}
|
||||||
|
bufferStorage: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if or .Values.global.psp.enabled .Values.global.seLinux.enabled }}
|
{{- if or .Values.global.psp.enabled .Values.global.seLinux.enabled }}
|
||||||
security:
|
security:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -29,18 +52,14 @@ spec:
|
||||||
seLinuxOptions:
|
seLinuxOptions:
|
||||||
type: rke_logreader_t
|
type: rke_logreader_t
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
{{- with (concat (.Values.tolerations) (.Values.fluentbit.tolerations)) }}
|
||||||
{{- with $total_tolerations }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentbit.resources }}
|
{{- with .Values.fluentbit.resources }}
|
||||||
resources:
|
resources: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
fluentd:
|
fluentd:
|
||||||
image:
|
image:
|
||||||
|
@ -49,23 +68,29 @@ spec:
|
||||||
configReloaderImage:
|
configReloaderImage:
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
||||||
tag: {{ .Values.images.config_reloader.tag }}
|
tag: {{ .Values.images.config_reloader.tag }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentd.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
disablePvc: {{ .Values.disablePvc }}
|
disablePvc: {{ .Values.disablePvc }}
|
||||||
|
{{- if .Values.fluentd.replicas }}
|
||||||
|
scaling:
|
||||||
|
replicas: {{ .Values.fluentd.replicas }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.tolerations }}
|
{{- with (default .Values.tolerations .Values.fluentd.tolerations) }}
|
||||||
tolerations:
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with (default .Values.nodeSelector .Values.fluentd.nodeSelector) }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.resources }}
|
{{- with .Values.fluentd.resources }}
|
||||||
resources:
|
resources: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.livenessProbe }}
|
{{- with .Values.fluentd.livenessProbe }}
|
||||||
livenessProbe: {{- toYaml . | nindent 6 }}
|
livenessProbe: {{- toYaml . | nindent 6 }}
|
||||||
|
|
|
@ -29,10 +29,25 @@ spec:
|
||||||
filterKubernetes:
|
filterKubernetes:
|
||||||
Kube_Tag_Prefix: "kuberentes.C.var.lib.rancher.rke.log."
|
Kube_Tag_Prefix: "kuberentes.C.var.lib.rancher.rke.log."
|
||||||
inputTail:
|
inputTail:
|
||||||
Path: "C:\\var\\lib\\rancher\\rke\\log"
|
Path: "{{ template "windowsPathPrefix" . }}/var/lib/rancher/rke/log"
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
Buffer_Chunk_Size: {{ .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
Buffer_Max_Size: {{ .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
Mem_Buf_Limit: {{ .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
Multiline_Flush: {{ .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
{{- end }}
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- source: "/var/lib/rancher/rke/log"
|
- source: "c:/var/lib/rancher/rke/log"
|
||||||
destination: "/var/lib/rancher/rke/log"
|
destination: "c:/var/lib/rancher/rke/log"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
daemonSet:
|
daemonSet:
|
||||||
spec:
|
spec:
|
||||||
|
@ -49,6 +64,32 @@ spec:
|
||||||
image:
|
image:
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.fluentbit.repository }}
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.fluentbit.repository }}
|
||||||
tag: {{ .Values.images.fluentbit.tag }}
|
tag: {{ .Values.images.fluentbit.tag }}
|
||||||
|
{{- if or .Values.fluentbit.inputTail.Buffer_Chunk_Size .Values.fluentbit.inputTail.Buffer_Max_Size .Values.fluentbit.inputTail.Mem_Buf_Limit .Values.fluentbit.inputTail.Multiline_Flush .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
inputTail:
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
Buffer_Chunk_Size: {{ .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
Buffer_Max_Size: {{ .Values.fluentbit.inputTail.Buffer_Max_Size }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
Mem_Buf_Limit: {{ .Values.fluentbit.inputTail.Mem_Buf_Limit }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
Multiline_Flush: {{ .Values.fluentbit.inputTail.Multiline_Flush }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorage }}
|
||||||
|
bufferStorage: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.fluentbit.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if or .Values.global.psp.enabled .Values.global.seLinux.enabled }}
|
{{- if or .Values.global.psp.enabled .Values.global.seLinux.enabled }}
|
||||||
security:
|
security:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -68,18 +109,14 @@ spec:
|
||||||
destination: {{ $containers }}
|
destination: {{ $containers }}
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $total_tolerations := concat (.Values.tolerations) (.Values.fluentbit.tolerations) }}
|
{{- with (concat (.Values.tolerations) (.Values.fluentbit.tolerations)) }}
|
||||||
{{- with $total_tolerations }}
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentbit.resources }}
|
{{- with .Values.fluentbit.resources }}
|
||||||
resources:
|
resources: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
fluentd:
|
fluentd:
|
||||||
image:
|
image:
|
||||||
|
@ -88,23 +125,29 @@ spec:
|
||||||
configReloaderImage:
|
configReloaderImage:
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
||||||
tag: {{ .Values.images.config_reloader.tag }}
|
tag: {{ .Values.images.config_reloader.tag }}
|
||||||
|
{{- if not .Values.disablePvc }}
|
||||||
|
{{- with .Values.fluentd.bufferStorageVolume }}
|
||||||
|
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
disablePvc: {{ .Values.disablePvc }}
|
disablePvc: {{ .Values.disablePvc }}
|
||||||
|
{{- if .Values.fluentd.replicas }}
|
||||||
|
scaling:
|
||||||
|
replicas: {{ .Values.fluentd.replicas }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.global.psp.enabled }}
|
{{- if .Values.global.psp.enabled }}
|
||||||
security:
|
security:
|
||||||
podSecurityPolicyCreate: true
|
podSecurityPolicyCreate: true
|
||||||
roleBasedAccessControlCreate: true
|
roleBasedAccessControlCreate: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.tolerations }}
|
{{- with (default .Values.tolerations .Values.fluentd.tolerations) }}
|
||||||
tolerations:
|
tolerations: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with (default .Values.nodeSelector .Values.fluentd.nodeSelector) }}
|
||||||
nodeSelector:
|
nodeSelector: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.resources }}
|
{{- with .Values.fluentd.resources }}
|
||||||
resources:
|
resources: {{- toYaml . | nindent 6 }}
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.fluentd.livenessProbe }}
|
{{- with .Values.fluentd.livenessProbe }}
|
||||||
livenessProbe: {{- toYaml . | nindent 6 }}
|
livenessProbe: {{- toYaml . | nindent 6 }}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- charts-original/templates/_helpers.tpl
|
--- charts-original/templates/_helpers.tpl
|
||||||
+++ charts/templates/_helpers.tpl
|
+++ charts/templates/_helpers.tpl
|
||||||
@@ -56,3 +56,21 @@
|
@@ -56,3 +56,30 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -22,3 +22,12 @@
|
||||||
+{{- end }}
|
+{{- end }}
|
||||||
+{{- end }}
|
+{{- end }}
|
||||||
+{{- end }}
|
+{{- end }}
|
||||||
|
+
|
||||||
|
+{{- define "windowsPathPrefix" }}
|
||||||
|
+{{- $temp := (default "c:\\" .Values.global.cattle.rkeWindowsPathPrefix | replace "\\" "/" | replace "//" "/") }}
|
||||||
|
+{{- if (hasSuffix "/" $temp) }}
|
||||||
|
+{{- trimSuffix "/" $temp }}
|
||||||
|
+{{- else }}
|
||||||
|
+{{- $temp }}
|
||||||
|
+{{- end }}
|
||||||
|
+{{- end }}
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
rbac:
|
rbac:
|
||||||
enabled: true
|
enabled: true
|
||||||
psp:
|
psp:
|
||||||
@@ -85,3 +93,84 @@
|
@@ -85,3 +93,94 @@
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
metricRelabelings: []
|
metricRelabelings: []
|
||||||
relabelings: []
|
relabelings: []
|
||||||
|
@ -87,13 +87,22 @@
|
||||||
+ tls:
|
+ tls:
|
||||||
+ enabled: false
|
+ enabled: false
|
||||||
+fluentd:
|
+fluentd:
|
||||||
+ resources: {}
|
+ bufferStorageVolume: {}
|
||||||
+ livenessProbe:
|
+ livenessProbe:
|
||||||
+ tcpSocket:
|
+ tcpSocket:
|
||||||
+ port: 24240
|
+ port: 24240
|
||||||
+ initialDelaySeconds: 30
|
+ initialDelaySeconds: 30
|
||||||
+ periodSeconds: 15
|
+ periodSeconds: 15
|
||||||
|
+ nodeSelector: {}
|
||||||
|
+ resources: {}
|
||||||
|
+ tolerations: {}
|
||||||
+fluentbit:
|
+fluentbit:
|
||||||
|
+ inputTail:
|
||||||
|
+ Buffer_Chunk_Size: ""
|
||||||
|
+ Buffer_Max_Size: ""
|
||||||
|
+ Mem_Buf_Limit: ""
|
||||||
|
+ Multiline_Flush: ""
|
||||||
|
+ Skip_Long_Lines: ""
|
||||||
+ resources: {}
|
+ resources: {}
|
||||||
+ tolerations:
|
+ tolerations:
|
||||||
+ - key: node-role.kubernetes.io/controlplane
|
+ - key: node-role.kubernetes.io/controlplane
|
||||||
|
@ -119,5 +128,6 @@
|
||||||
+ # logging operator.
|
+ # logging operator.
|
||||||
+ psp:
|
+ psp:
|
||||||
+ enabled: true
|
+ enabled: true
|
||||||
|
+ rkeWindowsPathPrefix: "c:\\"
|
||||||
+ seLinux:
|
+ seLinux:
|
||||||
+ enabled: false
|
+ enabled: false
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
url: https://kubernetes-charts.banzaicloud.com/charts/logging-operator-3.9.4.tgz
|
url: https://kubernetes-charts.banzaicloud.com/charts/logging-operator-3.9.4.tgz
|
||||||
packageVersion: 00
|
packageVersion: 01
|
||||||
releaseCandidateVersion: 08
|
releaseCandidateVersion: 00
|
||||||
additionalCharts:
|
additionalCharts:
|
||||||
- workingDir: charts-crd
|
- workingDir: charts-crd
|
||||||
crdOptions:
|
crdOptions:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: rancher-vsphere-csi
|
name: rancher-vsphere-csi
|
||||||
version: 2.1.0
|
version: 2.2.0
|
||||||
appVersion: 2.1.0
|
appVersion: 2.2.0
|
||||||
description: vSphere Cloud Storage Interface (CSI)
|
description: vSphere Cloud Storage Interface (CSI)
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/kubernetes-sigs/vsphere-csi-driver
|
- https://github.com/kubernetes-sigs/vsphere-csi-driver
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# vSphere Container Storage Interface (CSI)
|
# vSphere Container Storage Interface (CSI)
|
||||||
|
|
||||||
[vSphere Container Storage Interface (CSI)](https://github.com/kubernetes-sigs/vsphere-csi-driver/tree/release-2.1/manifests/v2.1.0/vsphere-7.0u1/) is a specification designed to enable persistent storage volume management on Container Orchestrators (COs) such as Kubernetes. The specification allows storage systems to integrate with containerized workloads running on Kubernetes. Using CSI, storage providers, such as VMware, can write and deploy plugins for storage systems in Kubernetes without a need to modify any core Kubernetes code.
|
[vSphere Container Storage Interface (CSI)](https://github.com/kubernetes-sigs/vsphere-csi-driver) is a specification designed to enable persistent storage volume management on Container Orchestrators (COs) such as Kubernetes. The specification allows storage systems to integrate with containerized workloads running on Kubernetes. Using CSI, storage providers, such as VMware, can write and deploy plugins for storage systems in Kubernetes without a need to modify any core Kubernetes code.
|
||||||
|
|
||||||
CSI allows volume plugins to be installed on Kubernetes clusters as extensions. Once a CSI compatible volume driver is deployed on a Kubernetes cluster, users can use the CSI to provision, attach, mount, and format the volumes exposed by the CSI driver.
|
CSI allows volume plugins to be installed on Kubernetes clusters as extensions. Once a CSI compatible volume driver is deployed on a Kubernetes cluster, users can use the CSI to provision, attach, mount, and format the volumes exposed by the CSI driver.
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,20 @@ questions:
|
||||||
description: Enable migration of volumes provisioned by in-tree vSphere provider to CSI (Available for vSphere 7.0 U1+ only)
|
description: Enable migration of volumes provisioned by in-tree vSphere provider to CSI (Available for vSphere 7.0 U1+ only)
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
group: Migration
|
group: Features
|
||||||
|
|
||||||
|
- variable: csiAuthCheck.enabled
|
||||||
|
label: Enable authorization checks on operations involving datastores
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
group: Features
|
||||||
|
|
||||||
|
- variable: onlineVolumeExtend.enabled
|
||||||
|
label: Enable Online Volume Extend
|
||||||
|
description: Enable expansion of PVCs that are in use by a Pod or mounted in a Node (Available for vSphere 7.0 U2+ only)
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
group: Features
|
||||||
|
|
||||||
- variable: csiController.csiResizer.enabled
|
- variable: csiController.csiResizer.enabled
|
||||||
label: Enable CSI Volume Resizer
|
label: Enable CSI Volume Resizer
|
||||||
|
|
|
@ -25,10 +25,24 @@ spec:
|
||||||
node-role.kubernetes.io/controlplane: "true"
|
node-role.kubernetes.io/controlplane: "true"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
tolerations:
|
tolerations:
|
||||||
|
# Rancher specific change: These tolerations are intentionally different from upstream to avoid lessening the scope to only NoSchedule with a specific key
|
||||||
|
# - key: node-role.kubernetes.io/master
|
||||||
|
# operator: Exists
|
||||||
|
# effect: NoSchedule
|
||||||
- operator: "Exists"
|
- operator: "Exists"
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
- operator: "Exists"
|
- operator: "Exists"
|
||||||
effect: NoExecute
|
effect: NoExecute
|
||||||
|
# uncomment below toleration if you need an aggressive pod eviction in case when
|
||||||
|
# node becomes not-ready or unreachable. Default is 300 seconds if not specified.
|
||||||
|
#- key: node.kubernetes.io/not-ready
|
||||||
|
# operator: Exists
|
||||||
|
# effect: NoExecute
|
||||||
|
# tolerationSeconds: 30
|
||||||
|
#- key: node.kubernetes.io/unreachable
|
||||||
|
# operator: Exists
|
||||||
|
# effect: NoExecute
|
||||||
|
# tolerationSeconds: 30
|
||||||
dnsPolicy: "Default"
|
dnsPolicy: "Default"
|
||||||
containers:
|
containers:
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
|
@ -50,7 +64,10 @@ spec:
|
||||||
args:
|
args:
|
||||||
- "--v=4"
|
- "--v=4"
|
||||||
- "--timeout=300s"
|
- "--timeout=300s"
|
||||||
|
- "--handle-volume-inuse-error=false"
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
- "--kube-api-qps=100"
|
||||||
|
- "--kube-api-burst=100"
|
||||||
- "--leader-election"
|
- "--leader-election"
|
||||||
env:
|
env:
|
||||||
- name: ADDRESS
|
- name: ADDRESS
|
||||||
|
@ -82,6 +99,8 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
|
- name: X_CSI_SERIAL_VOL_ACCESS_TIMEOUT
|
||||||
|
value: 3m
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /etc/cloud
|
- mountPath: /etc/cloud
|
||||||
name: vsphere-config-volume
|
name: vsphere-config-volume
|
||||||
|
@ -92,6 +111,9 @@ spec:
|
||||||
- name: healthz
|
- name: healthz
|
||||||
containerPort: 9808
|
containerPort: 9808
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
- name: prometheus
|
||||||
|
containerPort: 2112
|
||||||
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
|
@ -115,6 +137,10 @@ spec:
|
||||||
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
|
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
|
||||||
- "--fss-namespace=$(CSI_NAMESPACE)"
|
- "--fss-namespace=$(CSI_NAMESPACE)"
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
|
ports:
|
||||||
|
- containerPort: 2113
|
||||||
|
name: prometheus
|
||||||
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
- name: FULL_SYNC_INTERVAL_MINUTES
|
- name: FULL_SYNC_INTERVAL_MINUTES
|
||||||
value: "30"
|
value: "30"
|
||||||
|
@ -140,6 +166,8 @@ spec:
|
||||||
- "--v=4"
|
- "--v=4"
|
||||||
- "--timeout=300s"
|
- "--timeout=300s"
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
- "--kube-api-qps=100"
|
||||||
|
- "--kube-api-burst=100"
|
||||||
- "--leader-election"
|
- "--leader-election"
|
||||||
- "--default-fstype=ext4"
|
- "--default-fstype=ext4"
|
||||||
# needed only for topology aware setup
|
# needed only for topology aware setup
|
||||||
|
@ -161,12 +189,14 @@ spec:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
data:
|
data:
|
||||||
"csi-migration": {{ .Values.csiMigration.enabled | quote }}
|
"csi-migration": {{ .Values.csiMigration.enabled | quote }}
|
||||||
|
"csi-auth-check": {{ .Values.csiAuthCheck.enabled | quote }}
|
||||||
|
"online-volume-extend": {{ .Values.onlineVolumeExtend.enabled | quote }}
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: internal-feature-states.csi.vsphere.vmware.com
|
name: internal-feature-states.csi.vsphere.vmware.com
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
---
|
---
|
||||||
apiVersion: storage.k8s.io/v1 # For k8s 1.17 or lower use storage.k8s.io/v1beta1
|
apiVersion: storage.k8s.io/v1 # For k8s 1.17 use storage.k8s.io/v1beta1
|
||||||
kind: CSIDriver
|
kind: CSIDriver
|
||||||
metadata:
|
metadata:
|
||||||
name: csi.vsphere.vmware.com
|
name: csi.vsphere.vmware.com
|
||||||
|
@ -174,3 +204,22 @@ spec:
|
||||||
attachRequired: true
|
attachRequired: true
|
||||||
podInfoOnMount: false
|
podInfoOnMount: false
|
||||||
---
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: vsphere-csi-controller
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app: vsphere-csi-controller
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: ctlr
|
||||||
|
port: 2112
|
||||||
|
targetPort: 2112
|
||||||
|
protocol: TCP
|
||||||
|
- name: syncer
|
||||||
|
port: 2113
|
||||||
|
targetPort: 2113
|
||||||
|
protocol: TCP
|
||||||
|
selector:
|
||||||
|
app: vsphere-csi-controller
|
||||||
|
|
|
@ -36,7 +36,7 @@ rules:
|
||||||
verbs: ["create", "get", "list", "watch", "update", "delete"]
|
verbs: ["create", "get", "list", "watch", "update", "delete"]
|
||||||
- apiGroups: ["apiextensions.k8s.io"]
|
- apiGroups: ["apiextensions.k8s.io"]
|
||||||
resources: ["customresourcedefinitions"]
|
resources: ["customresourcedefinitions"]
|
||||||
verbs: ["get", "create"]
|
verbs: ["get", "create", "update"]
|
||||||
- apiGroups: ["storage.k8s.io"]
|
- apiGroups: ["storage.k8s.io"]
|
||||||
resources: ["volumeattachments/status"]
|
resources: ["volumeattachments/status"]
|
||||||
verbs: ["patch"]
|
verbs: ["patch"]
|
||||||
|
|
|
@ -18,6 +18,7 @@ spec:
|
||||||
app: vsphere-csi-node
|
app: vsphere-csi-node
|
||||||
role: vsphere-csi
|
role: vsphere-csi
|
||||||
spec:
|
spec:
|
||||||
|
serviceAccountName: vsphere-csi-node
|
||||||
dnsPolicy: "Default"
|
dnsPolicy: "Default"
|
||||||
containers:
|
containers:
|
||||||
- name: node-driver-registrar
|
- name: node-driver-registrar
|
||||||
|
@ -32,8 +33,6 @@ spec:
|
||||||
value: /csi/csi.sock
|
value: /csi/csi.sock
|
||||||
- name: DRIVER_REG_SOCK_PATH
|
- name: DRIVER_REG_SOCK_PATH
|
||||||
value: {{ .Values.csiNode.prefixPath }}/var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock
|
value: {{ .Values.csiNode.prefixPath }}/var/lib/kubelet/plugins/csi.vsphere.vmware.com/csi.sock
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: plugin-dir
|
- name: plugin-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
|
@ -95,6 +94,10 @@ spec:
|
||||||
mountPropagation: "Bidirectional"
|
mountPropagation: "Bidirectional"
|
||||||
- name: device-dir
|
- name: device-dir
|
||||||
mountPath: /dev
|
mountPath: /dev
|
||||||
|
- name: blocks-dir
|
||||||
|
mountPath: /sys/block
|
||||||
|
- name: sys-devices-dir
|
||||||
|
mountPath: /sys/devices
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9808
|
- containerPort: 9808
|
||||||
name: healthz
|
name: healthz
|
||||||
|
@ -104,6 +107,8 @@ spec:
|
||||||
port: healthz
|
port: healthz
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
|
periodSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
- name: liveness-probe
|
- name: liveness-probe
|
||||||
image: "{{ template "system_default_registry" . }}{{ .Values.csiNode.image.livenessProbe.repository }}:{{ .Values.csiNode.image.livenessProbe.tag }}"
|
image: "{{ template "system_default_registry" . }}{{ .Values.csiNode.image.livenessProbe.repository }}:{{ .Values.csiNode.image.livenessProbe.tag }}"
|
||||||
args:
|
args:
|
||||||
|
@ -132,6 +137,14 @@ spec:
|
||||||
- name: device-dir
|
- name: device-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev
|
path: /dev
|
||||||
|
- name: blocks-dir
|
||||||
|
hostPath:
|
||||||
|
path: /sys/block
|
||||||
|
type: Directory
|
||||||
|
- name: sys-devices-dir
|
||||||
|
hostPath:
|
||||||
|
path: /sys/devices
|
||||||
|
type: Directory
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoExecute
|
- effect: NoExecute
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
kind: ServiceAccount
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: vsphere-csi-node
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
---
|
||||||
|
kind: Role
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
metadata:
|
||||||
|
name: vsphere-csi-node-role
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
rules:
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["configmaps"]
|
||||||
|
verbs: ["get", "list", "watch"]
|
||||||
|
---
|
||||||
|
kind: RoleBinding
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
metadata:
|
||||||
|
name: vsphere-csi-node-binding
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: vsphere-csi-node
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
roleRef:
|
||||||
|
kind: Role
|
||||||
|
name: vsphere-csi-node-role
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
|
@ -25,38 +25,43 @@ csiController:
|
||||||
enabled: false
|
enabled: false
|
||||||
image:
|
image:
|
||||||
repository: rancher/mirrored-cloud-provider-vsphere-csi-release-driver
|
repository: rancher/mirrored-cloud-provider-vsphere-csi-release-driver
|
||||||
tag: v2.1.0
|
tag: v2.2.0
|
||||||
csiAttacher:
|
csiAttacher:
|
||||||
repository: rancher/mirrored-k8scsi-csi-attacher
|
repository: rancher/mirrored-k8scsi-csi-attacher
|
||||||
tag: v3.0.0
|
tag: v3.1.0
|
||||||
csiResizer:
|
csiResizer:
|
||||||
repository: rancher/mirrored-k8scsi-csi-resizer
|
repository: rancher/mirrored-k8scsi-csi-resizer
|
||||||
tag: v1.0.0
|
tag: v1.1.0
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
repository: rancher/mirrored-k8scsi-livenessprobe
|
repository: rancher/mirrored-k8scsi-livenessprobe
|
||||||
tag: v2.1.0
|
tag: v2.2.0
|
||||||
vsphereSyncer:
|
vsphereSyncer:
|
||||||
repository: rancher/mirrored-cloud-provider-vsphere-csi-release-syncer
|
repository: rancher/mirrored-cloud-provider-vsphere-csi-release-syncer
|
||||||
tag: v2.1.0
|
tag: v2.2.0
|
||||||
csiProvisioner:
|
csiProvisioner:
|
||||||
repository: rancher/mirrored-k8scsi-csi-provisioner
|
repository: rancher/mirrored-k8scsi-csi-provisioner
|
||||||
tag: v2.0.0
|
tag: v2.1.0
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
# Internal features
|
||||||
csiMigration:
|
csiMigration:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
csiAuthCheck:
|
||||||
|
enabled: false
|
||||||
|
onlineVolumeExtend:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
csiNode:
|
csiNode:
|
||||||
prefixPath: ""
|
prefixPath: ""
|
||||||
image:
|
image:
|
||||||
repository: rancher/mirrored-cloud-provider-vsphere-csi-release-driver
|
repository: rancher/mirrored-cloud-provider-vsphere-csi-release-driver
|
||||||
tag: v2.1.0
|
tag: v2.2.0
|
||||||
nodeDriverRegistrar:
|
nodeDriverRegistrar:
|
||||||
repository: rancher/mirrored-k8scsi-csi-node-driver-registrar
|
repository: rancher/mirrored-k8scsi-csi-node-driver-registrar
|
||||||
tag: v2.0.1
|
tag: v2.1.0
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
repository: rancher/mirrored-k8scsi-livenessprobe
|
repository: rancher/mirrored-k8scsi-livenessprobe
|
||||||
tag: v2.1.0
|
tag: v2.2.0
|
||||||
|
|
||||||
storageClass:
|
storageClass:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
--- charts-original/Chart.yaml
|
||||||
|
+++ charts/Chart.yaml
|
||||||
|
@@ -5,11 +5,11 @@
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
catalog.cattle.io/release-name: rancher-webhook
|
||||||
|
apiVersion: v2
|
||||||
|
-appVersion: 0.2.0-alpha01
|
||||||
|
+appVersion: 0.2.0-alpha
|
||||||
|
dependencies:
|
||||||
|
- condition: capi.enabled
|
||||||
|
name: capi
|
||||||
|
repository: ""
|
||||||
|
description: ValidatingAdmissionWebhook for Rancher types
|
||||||
|
name: rancher-webhook
|
||||||
|
-version: 0.2.0-alpha01
|
||||||
|
+version: 0.2.0-alpha
|
|
@ -1,3 +1,3 @@
|
||||||
url: https://github.com/rancher/webhook/releases/download/v0.1.0/rancher-webhook-0.1.0.tgz
|
url: https://github.com/rancher/webhook/releases/download/v0.2.0-alpha01/rancher-webhook-0.2.0-alpha01.tgz
|
||||||
packageVersion: 00
|
packageVersion: 01
|
||||||
releaseCandidateVersion: 03
|
releaseCandidateVersion: 01
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.orig
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
|
@ -0,0 +1,14 @@
|
||||||
|
apiVersion: v1
|
||||||
|
name: system-upgrade-controller
|
||||||
|
description: General purpose controller to make system level updates to nodes
|
||||||
|
home: https://github.com/rancher/system-charts/charts/system-upgrade-controller
|
||||||
|
sources:
|
||||||
|
- "https://github.com/rancher/system-charts/charts/system-upgrade-controller"
|
||||||
|
version: 0.7.0
|
||||||
|
appVersion: v0.7.0
|
||||||
|
annotations:
|
||||||
|
catalog.cattle.io/certified: rancher
|
||||||
|
catalog.cattle.io/hidden: "true"
|
||||||
|
catalog.cattle.io/namespace: cattle-system
|
||||||
|
catalog.cattle.io/os: linux
|
||||||
|
catalog.cattle.io/release-name: system-upgrade-controller
|
|
@ -0,0 +1,9 @@
|
||||||
|
{{/* vim: set filetype=mustache: */}}
|
||||||
|
|
||||||
|
{{- define "system_default_registry" -}}
|
||||||
|
{{- if .Values.global.systemDefaultRegistry -}}
|
||||||
|
{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- "" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: system-upgrade-controller
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: cluster-admin
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: system-upgrade-controller
|
||||||
|
namespace: cattle-system
|
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: system-upgrade-controller-config
|
||||||
|
data:
|
||||||
|
SYSTEM_UPGRADE_CONTROLLER_DEBUG: {{ .Values.systemUpgradeControllerDebug | default "false" | quote }}
|
||||||
|
SYSTEM_UPGRADE_CONTROLLER_THREADS: {{ .Values.systemUpgradeControllerThreads | default "2" | quote }}
|
||||||
|
SYSTEM_UPGRADE_JOB_ACTIVE_DEADLINE_SECONDS: {{ .Values.systemUpgradeJobActiveDeadlineSeconds | default "900" | quote }}
|
||||||
|
SYSTEM_UPGRADE_JOB_BACKOFF_LIMIT: {{ .Values.systemUpgradeJobBackoffLimit | default "99" | quote }}
|
||||||
|
SYSTEM_UPGRADE_JOB_IMAGE_PULL_POLICY: {{ .Values.systemUpgradeJobImagePullPolicy | default "Always" | quote }}
|
||||||
|
SYSTEM_UPGRADE_JOB_KUBECTL_IMAGE: {{ template "system_default_registry" . }}{{ .Values.kubectl.image.repository }}:{{ .Values.kubectl.image.tag }}
|
||||||
|
SYSTEM_UPGRADE_JOB_PRIVILEGED: {{ .Values.systemUpgradeJobPrivileged | default "true" | quote }}
|
||||||
|
SYSTEM_UPGRADE_JOB_TTL_SECONDS_AFTER_FINISH: {{ .Values.systemUpgradeJobTTLSecondsAfterFinish | default "900" | quote }}
|
||||||
|
SYSTEM_UPGRADE_PLAN_POLLING_INTERVAL: {{ .Values.systemUpgradePlanRollingInterval | default "15m" | quote }}
|
||||||
|
|
|
@ -0,0 +1,48 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: system-upgrade-controller
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
upgrade.cattle.io/controller: system-upgrade-controller
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
upgrade.cattle.io/controller: system-upgrade-controller # necessary to avoid drain
|
||||||
|
spec:
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- {key: "node-role.kubernetes.io/master", operator: In, values: ["true"]}
|
||||||
|
serviceAccountName: system-upgrade-controller
|
||||||
|
containers:
|
||||||
|
- name: system-upgrade-controller
|
||||||
|
image: {{ template "system_default_registry" . }}{{ .Values.systemUpgradeController.image.repository }}:{{ .Values.systemUpgradeController.image.tag }}
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: system-upgrade-controller-config
|
||||||
|
env:
|
||||||
|
- name: SYSTEM_UPGRADE_CONTROLLER_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.labels['upgrade.cattle.io/controller']
|
||||||
|
- name: SYSTEM_UPGRADE_CONTROLLER_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
volumeMounts:
|
||||||
|
- name: etc-ssl
|
||||||
|
mountPath: /etc/ssl
|
||||||
|
- name: tmp
|
||||||
|
mountPath: /tmp
|
||||||
|
volumes:
|
||||||
|
- name: etc-ssl
|
||||||
|
hostPath:
|
||||||
|
path: /etc/ssl
|
||||||
|
type: Directory
|
||||||
|
- name: tmp
|
||||||
|
emptyDir: {}
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: system-upgrade-controller
|
|
@ -0,0 +1,12 @@
|
||||||
|
global:
|
||||||
|
systemDefaultRegistry: ""
|
||||||
|
|
||||||
|
systemUpgradeController:
|
||||||
|
image:
|
||||||
|
repository: rancher/system-upgrade-controller
|
||||||
|
tag: v0.6.2
|
||||||
|
|
||||||
|
kubectl:
|
||||||
|
image:
|
||||||
|
repository: rancher/kubectl
|
||||||
|
tag: v1.18.0
|
|
@ -0,0 +1,3 @@
|
||||||
|
url: local
|
||||||
|
packageVersion: 01
|
||||||
|
releaseCandidateVersion: 01
|
Loading…
Reference in New Issue