mirror of
https://gitee.com/devstar/devstar-devcontainer-operator
synced 2025-09-16 03:31:07 +00:00
Updated resource creation:
* StatefulSet * PVC * Service * Ingress (TODO: SSH port forwarding)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{.ObjectMeta.Name}}
|
||||
name: {{.ObjectMeta.Name}}-svc
|
||||
namespace: {{.ObjectMeta.Namespace}}
|
||||
spec:
|
||||
selector:
|
||||
app: {{.ObjectMeta.Name}}
|
||||
ports:
|
||||
- name: ssh
|
||||
port: {{.Spec.Ingress.Port}}
|
||||
targetPort: ssh-port
|
||||
protocol: TCP
|
||||
port: 22
|
||||
targetPort: 22
|
||||
|
Reference in New Issue
Block a user