Skip to content

Commit

Permalink
fix(DO400-35): use Deployment in home-automation-service (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
jramcast authored Jul 20, 2021
1 parent 89bb7f8 commit 5b29944
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions home-automation-service/kubefiles/application-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ metadata:
annotations:
description: "Home Automation Application Template"
objects:
- kind: DeploymentConfig
apiVersion: v1
- kind: Deployment
apiVersion: apps/v1
metadata:
name: home-automation
spec:
selector:
app: home-automation
matchLabels:
app: home-automation
replicas: 1
template:
metadata:
Expand All @@ -25,7 +26,7 @@ objects:
ports:
- containerPort: 8080
strategy:
type: Rolling
type: RollingUpdate
- kind: Service
apiVersion: v1
metadata:
Expand Down Expand Up @@ -63,4 +64,4 @@ parameters:
- name: APP_IMAGE_TAG
description: "Image Tag"
required: false
value: "latest"
value: "latest"

0 comments on commit 5b29944

Please sign in to comment.