diff --git a/gitea-service.yaml b/gitea-service.yaml new file mode 100644 index 0000000..edde4f0 --- /dev/null +++ b/gitea-service.yaml @@ -0,0 +1,12 @@ +--- + apiVersion: v1 + kind: Service + metadata: + name: gitea + namespace: gitea + spec: + selector: + app: gitea + ports: + - protocol: TCP + port: 3000 \ No newline at end of file diff --git a/kustomization.yaml b/kustomization.yaml index a4370ca..ffc7b3c 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -15,6 +15,8 @@ resources: - storage.yaml - configuration.yaml - postgres-deployment.yaml +- postgres-service.yaml - gitea-deployment.yaml +- gitea-service.yaml # - service.yaml # - ingress.yaml diff --git a/service.yaml b/postgres-service.yaml similarity index 59% rename from service.yaml rename to postgres-service.yaml index b3c7f0d..1627bcf 100644 --- a/service.yaml +++ b/postgres-service.yaml @@ -14,15 +14,3 @@ selector: app: postgres clusterIP: None ---- - apiVersion: v1 - kind: Service - metadata: - name: gitea - namespace: gitea - spec: - selector: - app: gitea - ports: - - protocol: TCP - port: 3000 \ No newline at end of file