Skip to content

Commit

Permalink
fix syntax error in charts
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Taylor <steve@deployhub.com>
  • Loading branch information
sbtaylor15 committed May 31, 2023
1 parent 116cd84 commit b0b5b62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions chart/scec-deppkg/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: { { include "microservice.name" . } }
name: {{ include "microservice.name" . }}
spec:
replicas: 1
selector:
matchLabels:
app: { { include "microservice.name" . } }
app: {{ include "microservice.name" . }}
tier: backend
track: stable
template:
metadata:
labels:
app: { { include "microservice.name" . } }
app: {{ include "microservice.name" . }}
tier: backend
track: stable
spec:
nodeSelector:
kubernetes.io/os: linux
containers:
- name: { { include "microservice.name" . } }
- name: {{ include "microservice.name" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: Always
env:
Expand Down
4 changes: 2 additions & 2 deletions chart/scec-deppkg/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
apiVersion: v1
kind: Service
metadata:
name: { { include "microservice.name" . } }
name: {{ include "microservice.name" . }}
spec:
selector:
app: { { include "microservice.name" . } }
app: {{ include "microservice.name" . }}
ports:
- protocol: TCP
port: 80
Expand Down

0 comments on commit b0b5b62

Please sign in to comment.