Skip to content

Commit

Permalink
Testing combining all the files into one
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Oct 24, 2023
1 parent c40e8b4 commit 598eaa0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
2 changes: 0 additions & 2 deletions k8s/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ kind: Kustomization

resources:
- trident-deployment.yaml
- trident-app-cluster-ip-service.yaml
- trident-ingress-nginx.yaml

secretGenerator:
- name: trident-credentials
Expand Down
32 changes: 31 additions & 1 deletion k8s/base/trident-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,34 @@ spec:
valueFrom:
secretKeyRef:
name: trident-credentials
key: connectionString
key: connectionString
---
apiVersion: v1
kind: Service
metadata:
name: trident-app-cluster-ip-service
spec:
type: ClusterIP
selector:
component: trident-web
ports:
- port: 6800
targetPort: 5000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: trident-ingress-nginx
spec:
ingressClassName: nginx
rules:
- host: trident.local
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: trident-app-cluster-ip-service
port:
number: 6800

0 comments on commit 598eaa0

Please sign in to comment.