Skip to content

Commit

Permalink
final tocuhes
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Cotoman authored and Victor Cotoman committed Oct 1, 2023
1 parent 6ead43e commit 9d85669
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 16 deletions.
6 changes: 4 additions & 2 deletions fluxcd/clusters/poc/dev/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ metadata:
name: app
spec:
interval: 10m
releaseName: dummyapp
releaseName: app
chart:
spec:
chart: nodejs
sourceRef:
kind: HelmRepository
name: ecr
namespace: flux-system
version: ">=0.1.0"
version: ">=0.1.0"
values:
network: rinkeby
2 changes: 1 addition & 1 deletion fluxcd/clusters/poc/prod/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: app
spec:
interval: 10m
releaseName: dummyapp
releaseName: app
chart:
spec:
chart: nodejs
Expand Down
8 changes: 0 additions & 8 deletions helm/nodejs/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ spec:
- name: http
containerPort: 3000
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
7 changes: 3 additions & 4 deletions helm/nodejs/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ metadata:
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
- protocol: TCP
port: 80
targetPort: 3000
selector:
{{- include "nodejs.selectorLabels" . | nindent 4 }}
2 changes: 1 addition & 1 deletion helm/nodejs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ securityContext: {}

service:
type: ClusterIP
port: 80
port: 3000

ingress:
enabled: false
Expand Down

0 comments on commit 9d85669

Please sign in to comment.