Fixed conflict with service links
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m31s
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 5m31s
This commit is contained in:
parent
13f27ef878
commit
62a85230a9
|
@ -17,6 +17,8 @@ spec:
|
||||||
annotations:
|
annotations:
|
||||||
kubectl.kubernetes.io/default-container: siranga
|
kubectl.kubernetes.io/default-container: siranga
|
||||||
spec:
|
spec:
|
||||||
|
# Service links cause issues with the HTTP_PORT and SSH_PORT env variables
|
||||||
|
enableServiceLinks: false
|
||||||
containers:
|
containers:
|
||||||
- name: siranga
|
- name: siranga
|
||||||
image: git.huizinga.dev/dreaded_x/siranga@${DIGEST}
|
image: git.huizinga.dev/dreaded_x/siranga@${DIGEST}
|
||||||
|
|
|
@ -10,6 +10,6 @@ spec:
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: http
|
- name: http
|
||||||
port: 3000
|
port: http
|
||||||
tls:
|
tls:
|
||||||
secretName: tunnel-tls
|
secretName: tunnel-tls
|
||||||
|
|
|
@ -4,9 +4,8 @@ metadata:
|
||||||
name: http
|
name: http
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: "3000"
|
- name: http
|
||||||
port: 3000
|
port: 3000
|
||||||
targetPort: 3000
|
|
||||||
selector:
|
selector:
|
||||||
app: siranga
|
app: siranga
|
||||||
---
|
---
|
||||||
|
@ -19,7 +18,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
ports:
|
ports:
|
||||||
- name: "2222"
|
- name: ssh
|
||||||
port: 22
|
port: 22
|
||||||
targetPort: 2222
|
targetPort: 2222
|
||||||
selector:
|
selector:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user