fix: setting dashboard/metrics-server image version

pull/1076/head
gjmzj 2021-09-12 10:55:14 +08:00
parent 2760631801
commit 094b195ee4
2 changed files with 4 additions and 4 deletions

View File

@ -184,7 +184,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: kubernetesui/dashboard:v2.1.0
image: kubernetesui/dashboard:{{ dashboardVer }}
ports:
- containerPort: 8443
protocol: TCP
@ -265,7 +265,7 @@ spec:
spec:
containers:
- name: dashboard-metrics-scraper
image: kubernetesui/metrics-scraper:v1.0.6
image: kubernetesui/metrics-scraper:{{ dashboardMetricsScraperVer }}
ports:
- containerPort: 8000
protocol: TCP

View File

@ -83,8 +83,8 @@ spec:
emptyDir: {}
containers:
- name: metrics-server
#image: k8s.gcr.io/metrics-server-amd64:v0.3.6
image: mirrorgooglecontainers/metrics-server-amd64:v0.3.6
#image: k8s.gcr.io/metrics-server-amd64:{{ metricsVer }}
image: mirrorgooglecontainers/metrics-server-amd64:{{ metricsVer }}
imagePullPolicy: IfNotPresent
args:
- --cert-dir=/tmp