Skip to content

Commit

Permalink
Merge pull request #5586 from reegnz/replace_replication_controller_w…
Browse files Browse the repository at this point in the history
…ith_deployment

Replace registry-creds addon ReplicationController with Deployment
  • Loading branch information
sharifelgamal authored Oct 15, 2019
2 parents b229f66 + c9c4a8f commit 5e5c042
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions deploy/addons/registry-creds/registry-creds-rc.yaml.tmpl
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
apiVersion: v1
kind: ReplicationController
apiVersion: apps/v1
kind: Deployment
metadata:
name: registry-creds
namespace: kube-system
labels:
version: v1.9
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/minikube-addons: registry-creds
spec:
replicas: 1
selector:
name: registry-creds
version: v1.9
addonmanager.kubernetes.io/mode: Reconcile
matchLabels:
name: registry-creds
template:
metadata:
labels:
name: registry-creds
version: v1.9
addonmanager.kubernetes.io/mode: Reconcile
spec:
containers:
- image: registry.hub.docker.com/upmcenterprises/registry-creds:1.9
- image: upmcenterprises/registry-creds:1.9
name: registry-creds
imagePullPolicy: Always
env:
Expand Down

0 comments on commit 5e5c042

Please sign in to comment.