(dev-v2.6-archive) Merge pull request #1652 from brendarearden/2.6.3-kube-version

2.6.3 kube version

(partially cherry picked from commit 49e34f78b4)
pull/1680/head
Brenda Rearden 2021-12-15 06:52:07 -07:00 committed by Arvind Iyengar
parent cf1ed9486a
commit 7f610e7b83
No known key found for this signature in database
GPG Key ID: A8DD9BFD6C811498
3 changed files with 4 additions and 22 deletions

View File

@ -17,3 +17,4 @@ annotations:
catalog.cattle.io/os: linux
catalog.cattle.io/auto-install: rancher-cis-benchmark-crd=match
catalog.cattle.io/rancher-version: ">= 2.6.0-0"
catalog.cattle.io/kube-version: ">=1.16.0-0"

View File

@ -1,6 +1,6 @@
--- charts-original/templates/podsecuritypolicy.yaml
+++ charts/templates/podsecuritypolicy.yaml
@@ -5,19 +5,27 @@
@@ -5,13 +5,9 @@
name: {{ template "grafana.fullname" . }}
labels:
{{- include "grafana.labels" . | nindent 4 }}
@ -17,23 +17,3 @@
spec:
privileged: false
allowPrivilegeEscalation: false
requiredDropCapabilities:
- # Default set from Docker, with DAC_OVERRIDE and CHOWN
- - ALL
+ # The list comes from K8s' pod security standards, with only CHOWN left
+ # ref: https://kubernetes.io/docs/concepts/security/pod-security-standards/
+ - AUDIT_WRITE
+ - DAC_OVERRIDE
+ - FOWNER
+ - FSETID
+ - KILL
+ - MKNOD
+ - NET_BIND_SERVICE
+ - SETFCAP
+ - SETGID
+ - SETPCAP
+ - SETUID
+ - SYS_CHROOT
volumes:
- 'configMap'
- 'emptyDir'

View File

@ -1,6 +1,6 @@
--- charts-original/Chart.yaml
+++ charts/Chart.yaml
@@ -1,5 +1,19 @@
@@ -1,5 +1,20 @@
apiVersion: v1
appVersion: 3.15.0
-description: A Helm chart to install Banzai Cloud logging-operator
@ -22,3 +22,4 @@
+ catalog.cattle.io/provides-gvr: logging.banzaicloud.io.clusterflow/v1beta1
+ catalog.cattle.io/display-name: "Logging"
+ catalog.cattle.io/auto-install: rancher-logging-crd=match
+ catalog.cattle.io/kube-version: ">=1.16.0-0"