Added resource creation

This commit is contained in:
Mingchen Dai
2024-09-11 04:10:47 +00:00
parent 1a42cda60a
commit dd2ff56190
4 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: {{.ObjectMeta.Name}}
namespace: {{.ObjectMeta.Namespace}}
spec:
selector:
app: {{.ObjectMeta.Name}}
ports:
- name: ssh
protocol: TCP
port: 22
targetPort: 22