Skip to content

Commit

Permalink
update service
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored and alex committed Jun 27, 2023
1 parent 25bfe7f commit 23bd781
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
6 changes: 3 additions & 3 deletions helm/service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ kind: Deployment
metadata:
name: {{ .Release.Name }}-pewpew
labels:
app: pewpew
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: pewpew
app.kubernetes.io/instance: {{ .Release.Name }}
template:
metadata:
labels:
app: pewpew
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
containers:
- name: {{ .Chart.Name }}
Expand Down
4 changes: 0 additions & 4 deletions helm/service/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@ spec:
- name: http
protocol: {{ .Values.service.protocol | default "TCP" }}
port: {{ .Values.service.httpPort }}
targetPort: {{ .Values.service.targetPort }}
- name: https
protocol: {{ .Values.service.protocol | default "TCP" }}
port: {{ .Values.service.httpsPort }}
targetPort: {{ .Values.service.targetPort }}
1 change: 0 additions & 1 deletion helm/service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ service:
name: pewpew-service
type: ClusterIP
httpPort: 80
httpsPort: 443
targetPort: 8080

env:
Expand Down

0 comments on commit 23bd781

Please sign in to comment.