Add Kubernetes manifests for communitarian application including deployments, services, ingress, middleware, PVC, and kustomization
This commit is contained in:
13
communitarian/service-api.yaml
Normal file
13
communitarian/service-api.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: communitarian-api
|
||||
namespace: "{{ .namespace }}"
|
||||
spec:
|
||||
selector:
|
||||
component: api
|
||||
ports:
|
||||
- port: {{ .apiPort }}
|
||||
targetPort: {{ .apiPort }}
|
||||
protocol: TCP
|
||||
name: http
|
||||
Reference in New Issue
Block a user