From b45f1e7be0fc77072ca0325b1d22a7eb5ebd3007 Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Mon, 11 Oct 2021 21:59:20 -0700 Subject: [PATCH] Add service definition --- kustomize/kustomization.yaml | 2 +- kustomize/service.yaml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 kustomize/service.yaml diff --git a/kustomize/kustomization.yaml b/kustomize/kustomization.yaml index f3c5c6e..88750f1 100644 --- a/kustomize/kustomization.yaml +++ b/kustomize/kustomization.yaml @@ -5,6 +5,6 @@ resources: - rbac.yaml - storage.yaml - deployment.yaml -# - service.yaml + - service.yaml # - ingress.yaml # - agent.yaml \ No newline at end of file diff --git a/kustomize/service.yaml b/kustomize/service.yaml new file mode 100644 index 0000000..0e9b030 --- /dev/null +++ b/kustomize/service.yaml @@ -0,0 +1,14 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: drone-server + namespace: drone +spec: + ports: + - name: drone-server + port: 80 + targetPort: 80 + selector: + app: drone-server +