diff --git a/k8s/argoapps/templates/nodeport.yaml b/k8s/argoapps/templates/nodeport.yaml new file mode 100644 index 0000000..9321157 --- /dev/null +++ b/k8s/argoapps/templates/nodeport.yaml @@ -0,0 +1,18 @@ +--- +kind: Service +apiVersion: v1 +metadata: + name: nodeport + namespace: chart-database +spec: + selector: + app.kubernetes.io/component: primary + app.kubernetes.io/instance: database + app.kubernetes.io/name: postgresql + type: NodePort + ports: + - name: tcp-postgresql + port: 5432 + protocol: TCP + targetPort: tcp-postgresql + nodePort: 35432