Skip to content

Commit

Permalink
Merge pull request #84 from stevesloka/reegnz-replace_replication_con…
Browse files Browse the repository at this point in the history
…troller_with_deployment

Replace ReplicationController with Deployment
  • Loading branch information
stevesloka authored Jan 27, 2020
2 parents 36f129b + 367950e commit 5ce5a4f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions k8s/replicationController.yaml → k8s/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
apiVersion: v1
kind: ReplicationController
apiVersion: apps/v1
kind: Deployment
metadata:
name: registry-creds
namespace: kube-system
labels:
version: v1.6
spec:
replicas: 1
selector:
name: registry-creds
version: v1.9
matchLabels:
name: registry-creds
template:
metadata:
labels:
name: registry-creds
version: v1.9
spec:
containers:
- image: upmcenterprises/registry-creds:1.9
Expand Down Expand Up @@ -83,4 +80,4 @@ spec:
volumes:
- name: gcr-creds
secret:
secretName: registry-creds-gcr
secretName: registry-creds-gcr

0 comments on commit 5ce5a4f

Please sign in to comment.