mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/kube-registry-proxy] Update DaemonSet apiVersion to 'apps/v1' - Mandatory for K8s 1.16 (#20892)
* [incubator/kube-registry-proxy] Update DaemonSet apiVersion to 'apps/v1' - Mandatory for K8s 1.16 Signed-off-by: Jacky Jiang <t83714@gmail.com> * As of Kubernetes 1.8, you must specify a pod selector that matches the labels of the .spec.template. This fix the issue with creating DaemonSet through new `apps/v1` api. Signed-off-by: Jacky Jiang <t83714@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: kube-registry-proxy
|
||||
home: https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/registry
|
||||
version: 0.3.1
|
||||
version: 0.3.2
|
||||
appVersion: 0.4
|
||||
description: Installs the kubernetes-registry-proxy cluster addon.
|
||||
maintainers:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: {{ template "kube-registry-proxy.fullname" . }}
|
||||
@@ -7,6 +7,9 @@ metadata:
|
||||
release: {{ .Release.Name | quote }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "kube-registry-proxy.fullname" . }}
|
||||
template:
|
||||
metadata:
|
||||
name: {{ template "kube-registry-proxy.fullname" . }}
|
||||
|
||||
Reference in New Issue
Block a user