Update kubernetes dashboard to 2.7.0 (k8s 1.25 support) (#9425)

pull/9426/head
Mohamed Zaian 2022-10-25 03:32:36 +02:00 committed by GitHub
parent b9b654714e
commit 2af918132e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -1044,7 +1044,7 @@ gcp_pd_csi_resizer_image_tag: "v0.4.0-gke.0"
gcp_pd_csi_registrar_image_tag: "v1.2.0-gke.0" gcp_pd_csi_registrar_image_tag: "v1.2.0-gke.0"
dashboard_image_repo: "{{ docker_image_repo }}/kubernetesui/dashboard-{{ image_arch }}" dashboard_image_repo: "{{ docker_image_repo }}/kubernetesui/dashboard-{{ image_arch }}"
dashboard_image_tag: "v2.6.1" dashboard_image_tag: "v2.7.0"
dashboard_metrics_scraper_repo: "{{ docker_image_repo }}/kubernetesui/metrics-scraper" dashboard_metrics_scraper_repo: "{{ docker_image_repo }}/kubernetesui/metrics-scraper"
dashboard_metrics_scraper_tag: "v1.0.8" dashboard_metrics_scraper_tag: "v1.0.8"

View File

@ -163,6 +163,9 @@ spec:
labels: labels:
k8s-app: kubernetes-dashboard k8s-app: kubernetes-dashboard
spec: spec:
securityContext:
seccompProfile:
type: RuntimeDefault
priorityClassName: system-cluster-critical priorityClassName: system-cluster-critical
containers: containers:
- name: kubernetes-dashboard - name: kubernetes-dashboard
@ -208,6 +211,11 @@ spec:
port: 8443 port: 8443
initialDelaySeconds: 30 initialDelaySeconds: 30
timeoutSeconds: 30 timeoutSeconds: 30
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsUser: 1001
runAsGroup: 2001
volumes: volumes:
- name: kubernetes-dashboard-certs - name: kubernetes-dashboard-certs
secret: secret:
@ -293,6 +301,9 @@ spec:
labels: labels:
k8s-app: kubernetes-metrics-scraper k8s-app: kubernetes-metrics-scraper
spec: spec:
securityContext:
seccompProfile:
type: RuntimeDefault
priorityClassName: system-cluster-critical priorityClassName: system-cluster-critical
containers: containers:
- name: kubernetes-metrics-scraper - name: kubernetes-metrics-scraper
@ -307,6 +318,11 @@ spec:
port: 8000 port: 8000
initialDelaySeconds: 30 initialDelaySeconds: 30
timeoutSeconds: 30 timeoutSeconds: 30
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsUser: 1001
runAsGroup: 2001
volumeMounts: volumeMounts:
- mountPath: /tmp - mountPath: /tmp
name: tmp-volume name: tmp-volume