Skip to content

Commit

Permalink
Override service
Browse files Browse the repository at this point in the history
  • Loading branch information
kostis-codefresh committed Nov 17, 2021
1 parent 35b50b4 commit 8cb9201
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kustomize-app/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: the-container
image: docker.io/kostiscodefresh/gitops-simple-app:v1.0
image: docker.io/kostiscodefresh/gitops-kustomize-app:v1.0
ports:
- containerPort: 8080
imagePullPolicy: Always
Expand Down
1 change: 1 addition & 0 deletions kustomize-app/overlays/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ bases:
- ../../base
patchesStrategicMerge:
- config-map.yaml
- service.yaml
14 changes: 14 additions & 0 deletions kustomize-app/overlays/staging/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: demo
labels:
app: demo
spec:
ports:
- nodePort: 31000
protocol: TCP
port: 8080
selector:
app: demo
type: NodePort

0 comments on commit 8cb9201

Please sign in to comment.