mirror of https://git.rancher.io/charts
(dev-v2.6-archive) Add aks-operator package
(partially cherry picked from commit 2abda43f33
)
pull/1680/head
parent
cb516236eb
commit
57998bd35d
|
@ -0,0 +1,2 @@
|
||||||
|
url: https://github.com/rancher/aks-operator/releases/download/v1.0.1-rc6/rancher-aks-operator-crd-1.0.1-rc6.tgz
|
||||||
|
packageVersion: 00
|
|
@ -0,0 +1,2 @@
|
||||||
|
url: https://github.com/rancher/aks-operator/releases/download/v1.0.1-rc6/rancher-aks-operator-1.0.1-rc6.tgz
|
||||||
|
packageVersion: 00
|
|
@ -0,0 +1,13 @@
|
||||||
|
--- charts-original/Chart.yaml
|
||||||
|
+++ charts/Chart.yaml
|
||||||
|
@@ -4,8 +4,8 @@
|
||||||
|
catalog.cattle.io/namespace: cattle-resources-system
|
||||||
|
catalog.cattle.io/release-name: rancher-backup-crd
|
||||||
|
apiVersion: v2
|
||||||
|
-appVersion: 1.0.4-rc4
|
||||||
|
+appVersion: 1.0.4
|
||||||
|
description: Installs the CRDs for rancher-backup.
|
||||||
|
name: rancher-backup-crd
|
||||||
|
type: application
|
||||||
|
-version: 1.0.4-rc4
|
||||||
|
+version: 1.0.4
|
|
@ -1,2 +1,2 @@
|
||||||
url: https://github.com/rancher/backup-restore-operator/releases/download/v1.1.1/rancher-backup-crd-1.1.1.tgz
|
url: https://github.com/rancher/backup-restore-operator/releases/download/v1.0.4-rc4/rancher-backup-crd-1.0.4-rc4.tgz
|
||||||
packageVersion: 0
|
packageVersion: 0
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
--- charts-original/Chart.yaml
|
||||||
|
+++ charts/Chart.yaml
|
||||||
|
@@ -9,11 +9,11 @@
|
||||||
|
catalog.cattle.io/scope: management
|
||||||
|
catalog.cattle.io/ui-component: rancher-backup
|
||||||
|
apiVersion: v2
|
||||||
|
-appVersion: 1.0.4-rc4
|
||||||
|
+appVersion: 1.0.4
|
||||||
|
description: Provides ability to back up and restore the Rancher application running on any Kubernetes cluster
|
||||||
|
icon: https://charts.rancher.io/assets/logos/backup-restore.svg
|
||||||
|
keywords:
|
||||||
|
- applications
|
||||||
|
- infrastructure
|
||||||
|
name: rancher-backup
|
||||||
|
-version: 1.0.4-rc4
|
||||||
|
+version: 1.0.4
|
|
@ -1,2 +1,2 @@
|
||||||
url: https://github.com/rancher/backup-restore-operator/releases/download/v1.1.1/rancher-backup-1.1.1.tgz
|
url: https://github.com/rancher/backup-restore-operator/releases/download/v1.0.4-rc4/rancher-backup-1.0.4-rc4.tgz
|
||||||
packageVersion: 0
|
packageVersion: 0
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: v1.0.5
|
appVersion: v1.0.4
|
||||||
description: The cis-operator enables running CIS benchmark security scans on a kubernetes cluster
|
description: The cis-operator enables running CIS benchmark security scans on a kubernetes cluster
|
||||||
name: rancher-cis-benchmark
|
name: rancher-cis-benchmark
|
||||||
version: 1.0.5
|
version: 1.0.4
|
||||||
icon: https://charts.rancher.io/assets/logos/cis-kube-bench.svg
|
icon: https://charts.rancher.io/assets/logos/cis-kube-bench.svg
|
||||||
keywords:
|
keywords:
|
||||||
- security
|
- security
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
image:
|
image:
|
||||||
cisoperator:
|
cisoperator:
|
||||||
repository: rancher/cis-operator
|
repository: rancher/cis-operator
|
||||||
tag: v1.0.5-rc1
|
tag: v1.0.4
|
||||||
securityScan:
|
securityScan:
|
||||||
repository: rancher/security-scan
|
repository: rancher/security-scan
|
||||||
tag: v0.2.3
|
tag: v0.2.3
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
version: 1.0.5
|
version: 1.0.4
|
||||||
description: Installs the CRDs for rancher-cis-benchmark.
|
description: Installs the CRDs for rancher-cis-benchmark.
|
||||||
name: rancher-cis-benchmark-crd
|
name: rancher-cis-benchmark-crd
|
||||||
type: application
|
type: application
|
||||||
|
|
|
@ -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
|
|
@ -1,2 +1,2 @@
|
||||||
url: https://github.com/rancher/eks-operator/releases/download/v1.1.1-rc1/rancher-eks-operator-crd-1.1.1-rc1.tgz
|
url: https://github.com/rancher/eks-operator/releases/download/v2.0.1-rc1/rancher-eks-operator-crd-2.0.1-rc1.tgz
|
||||||
packageVersion: 0
|
packageVersion: 0
|
||||||
|
|
|
@ -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
|
|
@ -1,2 +1,2 @@
|
||||||
url: https://github.com/rancher/eks-operator/releases/download/v1.1.1-rc1/rancher-eks-operator-1.1.1-rc1.tgz
|
url: https://github.com/rancher/eks-operator/releases/download/v2.0.1-rc1/rancher-eks-operator-2.0.1-rc1.tgz
|
||||||
packageVersion: 0
|
packageVersion: 0
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
url: https://github.com/rancher/gke-operator/releases/download/v1.1.1-rc1/rancher-gke-operator-crd-1.1.1-rc1.tgz
|
|
||||||
packageVersion: 0
|
|
|
@ -1,2 +0,0 @@
|
||||||
url: https://github.com/rancher/gke-operator/releases/download/v1.1.1-rc1/rancher-gke-operator-1.1.1-rc1.tgz
|
|
||||||
packageVersion: 0
|
|
|
@ -1,18 +0,0 @@
|
||||||
--- charts-original/templates/pvc.yaml
|
|
||||||
+++ charts/templates/pvc.yaml
|
|
||||||
@@ -16,12 +16,14 @@
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
+{{- $_ := required "Must provide at least one access mode for persistent volumes used by Grafana" .Values.persistence.accessModes }}
|
|
||||||
+{{- $_ := required "Must provide at least one access mode for persistent volumes used by Grafana" (first .Values.persistence.accessModes) }}
|
|
||||||
{{- range .Values.persistence.accessModes }}
|
|
||||||
- {{ . | quote }}
|
|
||||||
{{- end }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
- storage: {{ .Values.persistence.size | quote }}
|
|
||||||
+ storage: {{ required "Must provide size for persistent volumes used by Grafana" .Values.persistence.size | quote }}
|
|
||||||
{{- if .Values.persistence.storageClassName }}
|
|
||||||
storageClassName: {{ .Values.persistence.storageClassName }}
|
|
||||||
{{- end -}}
|
|
|
@ -1,17 +0,0 @@
|
||||||
--- charts-original/templates/statefulset.yaml
|
|
||||||
+++ charts/templates/statefulset.yaml
|
|
||||||
@@ -39,11 +39,13 @@
|
|
||||||
- metadata:
|
|
||||||
name: storage
|
|
||||||
spec:
|
|
||||||
+{{- $_ := required "Must provide at least one access mode for persistent volumes used by Grafana" .Values.persistence.accessModes }}
|
|
||||||
+{{- $_ := required "Must provide at least one access mode for persistent volumes used by Grafana" (first .Values.persistence.accessModes) }}
|
|
||||||
accessModes: {{ .Values.persistence.accessModes }}
|
|
||||||
storageClassName: {{ .Values.persistence.storageClassName }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
- storage: {{ .Values.persistence.size }}
|
|
||||||
+ storage: {{ required "Must provide size for persistent volumes used by Grafana" .Values.persistence.size }}
|
|
||||||
{{- with .Values.persistence.selectorLabels }}
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
|
@ -1,4 +1,4 @@
|
||||||
url: https://github.com/grafana/helm-charts.git
|
url: https://github.com/grafana/helm-charts.git
|
||||||
subdirectory: charts/grafana
|
subdirectory: charts/grafana
|
||||||
commit: 837b4ace32278eee14310f1d654d651d0898bb19
|
commit: 837b4ace32278eee14310f1d654d651d0898bb19
|
||||||
packageVersion: 2
|
packageVersion: 1
|
||||||
|
|
|
@ -1,98 +0,0 @@
|
||||||
{{- if .Values.additionalLoggingSources.kubeAudit.enabled }}
|
|
||||||
apiVersion: logging.banzaicloud.io/v1beta1
|
|
||||||
kind: Logging
|
|
||||||
metadata:
|
|
||||||
name: {{ .Release.Name }}-kube-audit
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
{{ include "logging-operator.labels" . | indent 4 }}
|
|
||||||
spec:
|
|
||||||
controlNamespace: {{ .Release.Namespace }}
|
|
||||||
{{- if .Values.additionalLoggingSources.kubeAudit.loggingRef }}
|
|
||||||
loggingRef: {{ .Values.additionalLoggingSources.kubeAudit.loggingRef }}
|
|
||||||
{{- end }}
|
|
||||||
fluentbit:
|
|
||||||
disableKubernetesFilter: true
|
|
||||||
image:
|
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.fluentbit.repository }}
|
|
||||||
tag: {{ .Values.images.fluentbit.tag }}
|
|
||||||
inputTail:
|
|
||||||
Tag: {{ .Values.additionalLoggingSources.kubeAudit.fluentbit.logTag }}
|
|
||||||
Path: /kube-audit-logs/{{ template "kubeAuditFilename" . }}
|
|
||||||
Parser: json
|
|
||||||
{{- 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:
|
|
||||||
- source: {{ template "kubeAuditPathPrefix" . }}
|
|
||||||
destination: "/kube-audit-logs"
|
|
||||||
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 }}
|
|
||||||
security:
|
|
||||||
podSecurityPolicyCreate: true
|
|
||||||
roleBasedAccessControlCreate: true
|
|
||||||
{{- end }}
|
|
||||||
{{- with (concat (.Values.tolerations) (.Values.additionalLoggingSources.kubeAudit.fluentbit.tolerations)) }}
|
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
nodeSelector:
|
|
||||||
{{- include "controlplaneSelector" . | nindent 6 }}
|
|
||||||
{{- with .Values.fluentbit.resources }}
|
|
||||||
resources: {{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
fluentd:
|
|
||||||
image:
|
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.fluentd.repository }}
|
|
||||||
tag: {{ .Values.images.fluentd.tag }}
|
|
||||||
configReloaderImage:
|
|
||||||
repository: {{ template "system_default_registry" . }}{{ .Values.images.config_reloader.repository }}
|
|
||||||
tag: {{ .Values.images.config_reloader.tag }}
|
|
||||||
{{- if not .Values.disablePvc }}
|
|
||||||
{{- with .Values.fluentd.bufferStorageVolume }}
|
|
||||||
bufferStorageVolume: {{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
disablePvc: {{ .Values.disablePvc }}
|
|
||||||
{{- if .Values.fluentd.replicas }}
|
|
||||||
scaling:
|
|
||||||
replicas: {{ .Values.fluentd.replicas }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.global.psp.enabled }}
|
|
||||||
security:
|
|
||||||
podSecurityPolicyCreate: true
|
|
||||||
roleBasedAccessControlCreate: true
|
|
||||||
{{- end }}
|
|
||||||
{{- with (default .Values.tolerations .Values.fluentd.tolerations) }}
|
|
||||||
tolerations: {{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with (default .Values.nodeSelector .Values.fluentd.nodeSelector) }}
|
|
||||||
nodeSelector: {{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.fluentd.resources }}
|
|
||||||
resources: {{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.fluentd.livenessProbe }}
|
|
||||||
livenessProbe: {{- toYaml . | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
|
@ -27,7 +27,7 @@ spec:
|
||||||
profile: windows
|
profile: windows
|
||||||
nodeAgentFluentbit:
|
nodeAgentFluentbit:
|
||||||
filterKubernetes:
|
filterKubernetes:
|
||||||
Kube_Tag_Prefix: "{{ template "windowsKubernetesFilter" . }}.var.lib.rancher.rke.log."
|
Kube_Tag_Prefix: "kuberentes.C.var.lib.rancher.rke.log."
|
||||||
inputTail:
|
inputTail:
|
||||||
Path: "{{ template "windowsPathPrefix" . }}/var/lib/rancher/rke/log"
|
Path: "{{ template "windowsPathPrefix" . }}/var/lib/rancher/rke/log"
|
||||||
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
{{- if .Values.fluentbit.inputTail.Buffer_Chunk_Size }}
|
||||||
|
@ -46,8 +46,8 @@ spec:
|
||||||
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
Skip_Long_Lines: {{ .Values.fluentbit.inputTail.Skip_Long_Lines }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
extraVolumeMounts:
|
extraVolumeMounts:
|
||||||
- source: "{{ template "windowsInputTailMount" . }}/var/lib/rancher/rke/log"
|
- source: "c:/var/lib/rancher/rke/log"
|
||||||
destination: "{{ template "windowsInputTailMount" . }}/var/lib/rancher/rke/log"
|
destination: "c:/var/lib/rancher/rke/log"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
daemonSet:
|
daemonSet:
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -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,68 @@
|
@@ -56,3 +56,30 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -23,50 +23,11 @@
|
||||||
+{{- end }}
|
+{{- end }}
|
||||||
+{{- end }}
|
+{{- end }}
|
||||||
+
|
+
|
||||||
+{{- define "windowsPathPrefix" -}}
|
+{{- define "windowsPathPrefix" }}
|
||||||
+{{- trimSuffix "/" (default "c:\\" .Values.global.cattle.rkeWindowsPathPrefix | replace "\\" "/" | replace "//" "/" | replace "c:" "C:") -}}
|
+{{- $temp := (default "c:\\" .Values.global.cattle.rkeWindowsPathPrefix | replace "\\" "/" | replace "//" "/") }}
|
||||||
+{{- end -}}
|
+{{- if (hasSuffix "/" $temp) }}
|
||||||
+
|
+{{- trimSuffix "/" $temp }}
|
||||||
+{{- define "windowsKubernetesFilter" -}}
|
+{{- else }}
|
||||||
+{{- printf "kubernetes.%s" ((include "windowsPathPrefix" .) | replace ":" "" | replace "/" ".") -}}
|
+{{- $temp }}
|
||||||
+{{- end -}}
|
+{{- end }}
|
||||||
+
|
+{{- end }}
|
||||||
+{{- define "windowsInputTailMount" -}}
|
|
||||||
+{{- (include "windowsPathPrefix" .) | replace "C:" "" -}}
|
|
||||||
+{{- end -}}
|
|
||||||
+
|
|
||||||
+{{/*
|
|
||||||
+Set the controlplane selector based on kubernetes distribution
|
|
||||||
+*/}}
|
|
||||||
+{{- define "controlplaneSelector" -}}
|
|
||||||
+{{- $master := or .Values.additionalLoggingSources.rke2.enabled .Values.additionalLoggingSources.k3s.enabled -}}
|
|
||||||
+{{- $defaultSelector := $master | ternary (dict "node-role.kubernetes.io/master" "true") (dict "node-role.kubernetes.io/controlplane" "true") -}}
|
|
||||||
+{{ default $defaultSelector .Values.additionalLoggingSources.kubeAudit.nodeSelector | toYaml }}
|
|
||||||
+{{- end -}}
|
|
||||||
+
|
|
||||||
+{{/*
|
|
||||||
+Set kube-audit file path prefix based on distribution
|
|
||||||
+*/}}
|
|
||||||
+{{- define "kubeAuditPathPrefix" -}}
|
|
||||||
+{{- if .Values.additionalLoggingSources.rke.enabled -}}
|
|
||||||
+{{ default "/var/log/kube-audit" .Values.additionalLoggingSources.kubeAudit.pathPrefix }}
|
|
||||||
+{{- else if .Values.additionalLoggingSources.rke2.enabled -}}
|
|
||||||
+{{ default "/var/lib/rancher/rke2/server/logs" .Values.additionalLoggingSources.kubeAudit.pathPrefix }}
|
|
||||||
+{{- else -}}
|
|
||||||
+{{ required "Directory PathPrefix of the kube-audit location is required" .Values.additionalLoggingSources.kubeAudit.pathPrefix }}
|
|
||||||
+{{- end -}}
|
|
||||||
+{{- end -}}
|
|
||||||
+
|
|
||||||
+{{/*
|
|
||||||
+Set kube-audit file name based on distribution
|
|
||||||
+*/}}
|
|
||||||
+{{- define "kubeAuditFilename" -}}
|
|
||||||
+{{- if .Values.additionalLoggingSources.rke.enabled -}}
|
|
||||||
+{{ default "audit-log.json" .Values.additionalLoggingSources.kubeAudit.auditFilename }}
|
|
||||||
+{{- else if .Values.additionalLoggingSources.rke2.enabled -}}
|
|
||||||
+{{ default "audit.log" .Values.additionalLoggingSources.kubeAudit.auditFilename }}
|
|
||||||
+{{- else -}}
|
|
||||||
+{{ required "Filename of the kube-audit log is required" .Values.additionalLoggingSources.kubeAudit.auditFilename }}
|
|
||||||
+{{- end -}}
|
|
||||||
+{{- end -}}
|
|
||||||
\ No newline at end of file
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
rbac:
|
rbac:
|
||||||
enabled: true
|
enabled: true
|
||||||
psp:
|
psp:
|
||||||
@@ -85,3 +93,107 @@
|
@@ -85,3 +93,94 @@
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
metricRelabelings: []
|
metricRelabelings: []
|
||||||
relabelings: []
|
relabelings: []
|
||||||
|
@ -62,19 +62,6 @@
|
||||||
+ enabled: false
|
+ enabled: false
|
||||||
+ gke:
|
+ gke:
|
||||||
+ enabled: false
|
+ enabled: false
|
||||||
+ kubeAudit:
|
|
||||||
+ auditFilename: ""
|
|
||||||
+ enabled: false
|
|
||||||
+ pathPrefix: ""
|
|
||||||
+ fluentbit:
|
|
||||||
+ logTag: kube-audit
|
|
||||||
+ tolerations:
|
|
||||||
+ - key: node-role.kubernetes.io/controlplane
|
|
||||||
+ value: "true"
|
|
||||||
+ effect: NoSchedule
|
|
||||||
+ - key: node-role.kubernetes.io/etcd
|
|
||||||
+ value: "true"
|
|
||||||
+ effect: NoExecute
|
|
||||||
+
|
+
|
||||||
+images:
|
+images:
|
||||||
+ config_reloader:
|
+ config_reloader:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- charts-original/values.yaml
|
--- charts-original/values.yaml
|
||||||
+++ charts/values.yaml
|
+++ charts/values.yaml
|
||||||
@@ -2,13 +2,279 @@
|
@@ -2,13 +2,278 @@
|
||||||
# This is a YAML-formatted file.
|
# This is a YAML-formatted file.
|
||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
|
@ -225,10 +225,9 @@
|
||||||
+ nodeSelector:
|
+ nodeSelector:
|
||||||
+ node-role.kubernetes.io/etcd: "true"
|
+ node-role.kubernetes.io/etcd: "true"
|
||||||
+ tolerations:
|
+ tolerations:
|
||||||
+ - effect: "NoExecute"
|
|
||||||
+ operator: "Exists"
|
|
||||||
+ - effect: "NoSchedule"
|
+ - effect: "NoSchedule"
|
||||||
+ operator: "Exists"
|
+ key: node-role.kubernetes.io/master
|
||||||
|
+ operator: "Equal"
|
||||||
+
|
+
|
||||||
+## Component scraping nginx-ingress-controller
|
+## Component scraping nginx-ingress-controller
|
||||||
+##
|
+##
|
||||||
|
@ -282,7 +281,7 @@
|
||||||
|
|
||||||
## Provide a k8s version to auto dashboard import script example: kubeTargetVersionOverride: 1.16.6
|
## Provide a k8s version to auto dashboard import script example: kubeTargetVersionOverride: 1.16.6
|
||||||
##
|
##
|
||||||
@@ -89,8 +355,32 @@
|
@@ -89,8 +354,32 @@
|
||||||
|
|
||||||
##
|
##
|
||||||
global:
|
global:
|
||||||
|
@ -315,7 +314,7 @@
|
||||||
pspEnabled: true
|
pspEnabled: true
|
||||||
pspAnnotations: {}
|
pspAnnotations: {}
|
||||||
## Specify pod annotations
|
## Specify pod annotations
|
||||||
@@ -143,6 +433,22 @@
|
@@ -143,6 +432,22 @@
|
||||||
## ref: https://prometheus.io/docs/alerting/configuration/#configuration-file
|
## ref: https://prometheus.io/docs/alerting/configuration/#configuration-file
|
||||||
## https://prometheus.io/webtools/alerting/routing-tree-editor/
|
## https://prometheus.io/webtools/alerting/routing-tree-editor/
|
||||||
##
|
##
|
||||||
|
@ -338,7 +337,7 @@
|
||||||
config:
|
config:
|
||||||
global:
|
global:
|
||||||
resolve_timeout: 5m
|
resolve_timeout: 5m
|
||||||
@@ -179,25 +485,76 @@
|
@@ -179,25 +484,76 @@
|
||||||
## ref: https://prometheus.io/docs/alerting/notifications/
|
## ref: https://prometheus.io/docs/alerting/notifications/
|
||||||
## https://prometheus.io/docs/alerting/notification_examples/
|
## https://prometheus.io/docs/alerting/notification_examples/
|
||||||
##
|
##
|
||||||
|
@ -434,7 +433,7 @@
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -235,6 +592,25 @@
|
@@ -235,6 +591,25 @@
|
||||||
## Configuration for Alertmanager secret
|
## Configuration for Alertmanager secret
|
||||||
##
|
##
|
||||||
secret:
|
secret:
|
||||||
|
@ -460,7 +459,7 @@
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
## Configuration for creating an Ingress that will map to each Alertmanager replica service
|
## Configuration for creating an Ingress that will map to each Alertmanager replica service
|
||||||
@@ -352,7 +728,7 @@
|
@@ -352,7 +727,7 @@
|
||||||
## Of type: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#tlsconfig
|
## Of type: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#tlsconfig
|
||||||
tlsConfig: {}
|
tlsConfig: {}
|
||||||
|
|
||||||
|
@ -469,7 +468,7 @@
|
||||||
|
|
||||||
## metric relabel configs to apply to samples before ingestion.
|
## metric relabel configs to apply to samples before ingestion.
|
||||||
##
|
##
|
||||||
@@ -383,7 +759,7 @@
|
@@ -383,7 +758,7 @@
|
||||||
## Image of Alertmanager
|
## Image of Alertmanager
|
||||||
##
|
##
|
||||||
image:
|
image:
|
||||||
|
@ -478,7 +477,7 @@
|
||||||
tag: v0.21.0
|
tag: v0.21.0
|
||||||
sha: ""
|
sha: ""
|
||||||
|
|
||||||
@@ -495,9 +871,13 @@
|
@@ -495,9 +870,13 @@
|
||||||
## Define resources requests and limits for single Pods.
|
## Define resources requests and limits for single Pods.
|
||||||
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
|
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
|
||||||
##
|
##
|
||||||
|
@ -495,7 +494,7 @@
|
||||||
|
|
||||||
## Pod anti-affinity can prevent the scheduler from placing Prometheus replicas on the same node.
|
## Pod anti-affinity can prevent the scheduler from placing Prometheus replicas on the same node.
|
||||||
## The default value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
|
## The default value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided.
|
||||||
@@ -601,10 +981,46 @@
|
@@ -601,10 +980,46 @@
|
||||||
enabled: true
|
enabled: true
|
||||||
namespaceOverride: ""
|
namespaceOverride: ""
|
||||||
|
|
||||||
|
@ -542,7 +541,7 @@
|
||||||
adminPassword: prom-operator
|
adminPassword: prom-operator
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
@@ -644,6 +1060,7 @@
|
@@ -644,6 +1059,7 @@
|
||||||
dashboards:
|
dashboards:
|
||||||
enabled: true
|
enabled: true
|
||||||
label: grafana_dashboard
|
label: grafana_dashboard
|
||||||
|
@ -550,7 +549,7 @@
|
||||||
|
|
||||||
## Annotations for Grafana dashboard configmaps
|
## Annotations for Grafana dashboard configmaps
|
||||||
##
|
##
|
||||||
@@ -692,7 +1109,60 @@
|
@@ -692,7 +1108,60 @@
|
||||||
## Passed to grafana subchart and used by servicemonitor below
|
## Passed to grafana subchart and used by servicemonitor below
|
||||||
##
|
##
|
||||||
service:
|
service:
|
||||||
|
@ -573,7 +572,7 @@
|
||||||
+ proxy:
|
+ proxy:
|
||||||
+ image:
|
+ image:
|
||||||
+ repository: rancher/mirrored-library-nginx
|
+ repository: rancher/mirrored-library-nginx
|
||||||
+ tag: 1.19.9-alpine
|
+ tag: 1.19.2-alpine
|
||||||
+
|
+
|
||||||
+ ## Enable an Specify container in extraContainers. This is meant to allow adding an authentication proxy to a grafana pod
|
+ ## Enable an Specify container in extraContainers. This is meant to allow adding an authentication proxy to a grafana pod
|
||||||
+ extraContainers: |
|
+ extraContainers: |
|
||||||
|
@ -612,7 +611,7 @@
|
||||||
|
|
||||||
## If true, create a serviceMonitor for grafana
|
## If true, create a serviceMonitor for grafana
|
||||||
##
|
##
|
||||||
@@ -722,6 +1192,14 @@
|
@@ -722,6 +1191,14 @@
|
||||||
# targetLabel: nodename
|
# targetLabel: nodename
|
||||||
# replacement: $1
|
# replacement: $1
|
||||||
# action: replace
|
# action: replace
|
||||||
|
@ -627,7 +626,7 @@
|
||||||
|
|
||||||
## Component scraping the kube api server
|
## Component scraping the kube api server
|
||||||
##
|
##
|
||||||
@@ -879,7 +1357,7 @@
|
@@ -879,7 +1356,7 @@
|
||||||
## Component scraping the kube controller manager
|
## Component scraping the kube controller manager
|
||||||
##
|
##
|
||||||
kubeControllerManager:
|
kubeControllerManager:
|
||||||
|
@ -636,7 +635,7 @@
|
||||||
|
|
||||||
## If your kube controller manager is not deployed as a pod, specify IPs it can be found on
|
## If your kube controller manager is not deployed as a pod, specify IPs it can be found on
|
||||||
##
|
##
|
||||||
@@ -1014,7 +1492,7 @@
|
@@ -1014,7 +1491,7 @@
|
||||||
## Component scraping etcd
|
## Component scraping etcd
|
||||||
##
|
##
|
||||||
kubeEtcd:
|
kubeEtcd:
|
||||||
|
@ -645,7 +644,7 @@
|
||||||
|
|
||||||
## If your etcd is not deployed as a pod, specify IPs it can be found on
|
## If your etcd is not deployed as a pod, specify IPs it can be found on
|
||||||
##
|
##
|
||||||
@@ -1076,7 +1554,7 @@
|
@@ -1076,7 +1553,7 @@
|
||||||
## Component scraping kube scheduler
|
## Component scraping kube scheduler
|
||||||
##
|
##
|
||||||
kubeScheduler:
|
kubeScheduler:
|
||||||
|
@ -654,7 +653,7 @@
|
||||||
|
|
||||||
## If your kube scheduler is not deployed as a pod, specify IPs it can be found on
|
## If your kube scheduler is not deployed as a pod, specify IPs it can be found on
|
||||||
##
|
##
|
||||||
@@ -1131,7 +1609,7 @@
|
@@ -1131,7 +1608,7 @@
|
||||||
## Component scraping kube proxy
|
## Component scraping kube proxy
|
||||||
##
|
##
|
||||||
kubeProxy:
|
kubeProxy:
|
||||||
|
@ -663,7 +662,7 @@
|
||||||
|
|
||||||
## If your kube proxy is not deployed as a pod, specify IPs it can be found on
|
## If your kube proxy is not deployed as a pod, specify IPs it can be found on
|
||||||
##
|
##
|
||||||
@@ -1210,6 +1688,13 @@
|
@@ -1210,6 +1687,13 @@
|
||||||
create: true
|
create: true
|
||||||
podSecurityPolicy:
|
podSecurityPolicy:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -677,7 +676,7 @@
|
||||||
|
|
||||||
## Deploy node exporter as a daemonset to all nodes
|
## Deploy node exporter as a daemonset to all nodes
|
||||||
##
|
##
|
||||||
@@ -1259,6 +1744,16 @@
|
@@ -1259,6 +1743,16 @@
|
||||||
extraArgs:
|
extraArgs:
|
||||||
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+)($|/)
|
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+)($|/)
|
||||||
- --collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$
|
- --collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$
|
||||||
|
@ -694,7 +693,7 @@
|
||||||
|
|
||||||
## Manages Prometheus and Alertmanager components
|
## Manages Prometheus and Alertmanager components
|
||||||
##
|
##
|
||||||
@@ -1271,8 +1766,8 @@
|
@@ -1271,8 +1765,8 @@
|
||||||
enabled: true
|
enabled: true
|
||||||
# Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
|
# Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
|
||||||
tlsMinVersion: VersionTLS13
|
tlsMinVersion: VersionTLS13
|
||||||
|
@ -705,7 +704,7 @@
|
||||||
|
|
||||||
## Admission webhook support for PrometheusRules resources added in Prometheus Operator 0.30 can be enabled to prevent incorrectly formatted
|
## Admission webhook support for PrometheusRules resources added in Prometheus Operator 0.30 can be enabled to prevent incorrectly formatted
|
||||||
## rules from making their way into prometheus and potentially preventing the container from starting
|
## rules from making their way into prometheus and potentially preventing the container from starting
|
||||||
@@ -1289,7 +1784,7 @@
|
@@ -1289,7 +1783,7 @@
|
||||||
patch:
|
patch:
|
||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
|
@ -714,7 +713,7 @@
|
||||||
tag: v1.5.0
|
tag: v1.5.0
|
||||||
sha: ""
|
sha: ""
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
@@ -1428,13 +1923,13 @@
|
@@ -1428,13 +1922,13 @@
|
||||||
|
|
||||||
## Resource limits & requests
|
## Resource limits & requests
|
||||||
##
|
##
|
||||||
|
@ -735,7 +734,7 @@
|
||||||
|
|
||||||
# Required for use in managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico),
|
# Required for use in managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico),
|
||||||
# because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working
|
# because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working
|
||||||
@@ -1487,7 +1982,7 @@
|
@@ -1487,7 +1981,7 @@
|
||||||
## Prometheus-operator image
|
## Prometheus-operator image
|
||||||
##
|
##
|
||||||
image:
|
image:
|
||||||
|
@ -744,7 +743,7 @@
|
||||||
tag: v0.46.0
|
tag: v0.46.0
|
||||||
sha: ""
|
sha: ""
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
@@ -1503,7 +1998,7 @@
|
@@ -1503,7 +1997,7 @@
|
||||||
## Prometheus-config-reloader image to use for config and rule reloading
|
## Prometheus-config-reloader image to use for config and rule reloading
|
||||||
##
|
##
|
||||||
prometheusConfigReloaderImage:
|
prometheusConfigReloaderImage:
|
||||||
|
@ -753,7 +752,7 @@
|
||||||
tag: v0.46.0
|
tag: v0.46.0
|
||||||
sha: ""
|
sha: ""
|
||||||
|
|
||||||
@@ -1558,6 +2053,14 @@
|
@@ -1558,6 +2052,14 @@
|
||||||
##
|
##
|
||||||
nodePort: 30901
|
nodePort: 30901
|
||||||
|
|
||||||
|
@ -768,7 +767,7 @@
|
||||||
## Configuration for Prometheus service
|
## Configuration for Prometheus service
|
||||||
##
|
##
|
||||||
service:
|
service:
|
||||||
@@ -1570,7 +2073,7 @@
|
@@ -1570,7 +2072,7 @@
|
||||||
port: 9090
|
port: 9090
|
||||||
|
|
||||||
## To be used with a proxy extraContainer port
|
## To be used with a proxy extraContainer port
|
||||||
|
@ -777,7 +776,7 @@
|
||||||
|
|
||||||
## List of IP addresses at which the Prometheus server service is available
|
## List of IP addresses at which the Prometheus server service is available
|
||||||
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
||||||
@@ -1822,7 +2325,7 @@
|
@@ -1822,7 +2324,7 @@
|
||||||
## Image of Prometheus.
|
## Image of Prometheus.
|
||||||
##
|
##
|
||||||
image:
|
image:
|
||||||
|
@ -786,7 +785,7 @@
|
||||||
tag: v2.24.0
|
tag: v2.24.0
|
||||||
sha: ""
|
sha: ""
|
||||||
|
|
||||||
@@ -1885,6 +2388,11 @@
|
@@ -1885,6 +2387,11 @@
|
||||||
##
|
##
|
||||||
externalUrl: ""
|
externalUrl: ""
|
||||||
|
|
||||||
|
@ -798,7 +797,7 @@
|
||||||
## Define which Nodes the Pods are scheduled on.
|
## Define which Nodes the Pods are scheduled on.
|
||||||
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||||
##
|
##
|
||||||
@@ -1917,7 +2425,7 @@
|
@@ -1917,7 +2424,7 @@
|
||||||
## prometheus resource to be created with selectors based on values in the helm deployment,
|
## prometheus resource to be created with selectors based on values in the helm deployment,
|
||||||
## which will also match the PrometheusRule resources created
|
## which will also match the PrometheusRule resources created
|
||||||
##
|
##
|
||||||
|
@ -807,7 +806,7 @@
|
||||||
|
|
||||||
## PrometheusRules to be selected for target discovery.
|
## PrometheusRules to be selected for target discovery.
|
||||||
## If {}, select all PrometheusRules
|
## If {}, select all PrometheusRules
|
||||||
@@ -1942,7 +2450,7 @@
|
@@ -1942,7 +2449,7 @@
|
||||||
## prometheus resource to be created with selectors based on values in the helm deployment,
|
## prometheus resource to be created with selectors based on values in the helm deployment,
|
||||||
## which will also match the servicemonitors created
|
## which will also match the servicemonitors created
|
||||||
##
|
##
|
||||||
|
@ -816,7 +815,7 @@
|
||||||
|
|
||||||
## ServiceMonitors to be selected for target discovery.
|
## ServiceMonitors to be selected for target discovery.
|
||||||
## If {}, select all ServiceMonitors
|
## If {}, select all ServiceMonitors
|
||||||
@@ -1965,7 +2473,7 @@
|
@@ -1965,7 +2472,7 @@
|
||||||
## prometheus resource to be created with selectors based on values in the helm deployment,
|
## prometheus resource to be created with selectors based on values in the helm deployment,
|
||||||
## which will also match the podmonitors created
|
## which will also match the podmonitors created
|
||||||
##
|
##
|
||||||
|
@ -825,7 +824,7 @@
|
||||||
|
|
||||||
## PodMonitors to be selected for target discovery.
|
## PodMonitors to be selected for target discovery.
|
||||||
## If {}, select all PodMonitors
|
## If {}, select all PodMonitors
|
||||||
@@ -2092,9 +2600,13 @@
|
@@ -2092,9 +2599,13 @@
|
||||||
|
|
||||||
## Resource limits & requests
|
## Resource limits & requests
|
||||||
##
|
##
|
||||||
|
@ -842,7 +841,7 @@
|
||||||
|
|
||||||
## Prometheus StorageSpec for persistent data
|
## Prometheus StorageSpec for persistent data
|
||||||
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md
|
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md
|
||||||
@@ -2117,7 +2629,13 @@
|
@@ -2117,7 +2628,13 @@
|
||||||
# medium: Memory
|
# medium: Memory
|
||||||
|
|
||||||
# Additional volumes on the output StatefulSet definition.
|
# Additional volumes on the output StatefulSet definition.
|
||||||
|
@ -857,14 +856,14 @@
|
||||||
|
|
||||||
# Additional VolumeMounts on the output StatefulSet definition.
|
# Additional VolumeMounts on the output StatefulSet definition.
|
||||||
volumeMounts: []
|
volumeMounts: []
|
||||||
@@ -2224,9 +2742,34 @@
|
@@ -2224,9 +2741,34 @@
|
||||||
##
|
##
|
||||||
thanos: {}
|
thanos: {}
|
||||||
|
|
||||||
+ proxy:
|
+ proxy:
|
||||||
+ image:
|
+ image:
|
||||||
+ repository: rancher/mirrored-library-nginx
|
+ repository: rancher/mirrored-library-nginx
|
||||||
+ tag: 1.19.9-alpine
|
+ tag: 1.19.2-alpine
|
||||||
+
|
+
|
||||||
## Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to a Prometheus pod.
|
## Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to a Prometheus pod.
|
||||||
## if using proxy extraContainer update targetPort with proxy container port
|
## if using proxy extraContainer update targetPort with proxy container port
|
||||||
|
@ -893,7 +892,7 @@
|
||||||
|
|
||||||
## InitContainers allows injecting additional initContainers. This is meant to allow doing some changes
|
## InitContainers allows injecting additional initContainers. This is meant to allow doing some changes
|
||||||
## (permissions, dir tree) on mounted volumes before starting prometheus
|
## (permissions, dir tree) on mounted volumes before starting prometheus
|
||||||
@@ -2234,7 +2777,7 @@
|
@@ -2234,7 +2776,7 @@
|
||||||
|
|
||||||
## PortName to use for Prometheus.
|
## PortName to use for Prometheus.
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in New Issue