Fix regression caused by registry-proxy
This PR addresses #4604 by adding a new selector to concerned svc/rc only. This also reverts `kubernetes.io/minikube-addons` to `registy` for registry-proxy so that addon manager can deploy registry-proxy when registry addon is enabled.pull/4805/head
parent
3a93e45934
commit
d76d874067
|
@ -2,7 +2,7 @@ apiVersion: extensions/v1beta1
|
|||
kind: DaemonSet
|
||||
metadata:
|
||||
labels:
|
||||
kubernetes.io/minikube-addons: registry-proxy
|
||||
kubernetes.io/minikube-addons: registry
|
||||
addonmanager.kubernetes.io/mode: Reconcile
|
||||
name: registry-proxy
|
||||
namespace: kube-system
|
||||
|
@ -10,7 +10,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
labels:
|
||||
kubernetes.io/minikube-addons: registry-proxy
|
||||
kubernetes.io/minikube-addons: registry
|
||||
addonmanager.kubernetes.io/mode: Reconcile
|
||||
spec:
|
||||
containers:
|
||||
|
|
|
@ -13,6 +13,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
labels:
|
||||
actual-registry: "true"
|
||||
kubernetes.io/minikube-addons: registry
|
||||
addonmanager.kubernetes.io/mode: Reconcile
|
||||
spec:
|
||||
|
|
|
@ -12,4 +12,5 @@ spec:
|
|||
- port: 80
|
||||
targetPort: 5000
|
||||
selector:
|
||||
actual-registry: "true"
|
||||
kubernetes.io/minikube-addons: registry
|
||||
|
|
Loading…
Reference in New Issue