From b02f0f68faa2e20d5f5636f23d55e625b54fd7d6 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 6 Apr 2023 22:45:05 -0400 Subject: [PATCH] Remove services, the helms include them already --- .../apps/database/postgresql/kustomization.yaml | 3 +-- cluster/apps/database/postgresql/service.yaml | 17 ----------------- cluster/apps/database/redis/kustomization.yaml | 3 +-- cluster/apps/database/redis/service.yaml | 17 ----------------- 4 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 cluster/apps/database/postgresql/service.yaml delete mode 100644 cluster/apps/database/redis/service.yaml diff --git a/cluster/apps/database/postgresql/kustomization.yaml b/cluster/apps/database/postgresql/kustomization.yaml index 2895cf4..f07d21b 100644 --- a/cluster/apps/database/postgresql/kustomization.yaml +++ b/cluster/apps/database/postgresql/kustomization.yaml @@ -2,5 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./pgsql.sops.yaml -- ./helm-repository.yaml -- ./service.yaml \ No newline at end of file +- ./helm-release.yaml \ No newline at end of file diff --git a/cluster/apps/database/postgresql/service.yaml b/cluster/apps/database/postgresql/service.yaml deleted file mode 100644 index aaf5728..0000000 --- a/cluster/apps/database/postgresql/service.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: postgresql - namespace: database - - labels: - app: postgresql - database: postgresql - kubernetes.io/name: "postgresql" -spec: - selector: - app: postgresql - ports: - - name: pgsql - port: 5432 - targetPort: 5432 \ No newline at end of file diff --git a/cluster/apps/database/redis/kustomization.yaml b/cluster/apps/database/redis/kustomization.yaml index 38bd9c9..4d3c85c 100644 --- a/cluster/apps/database/redis/kustomization.yaml +++ b/cluster/apps/database/redis/kustomization.yaml @@ -2,5 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./redis.sops.yaml -- ./helm-repository.yaml -- ./service.yaml \ No newline at end of file +- ./helm-release.yaml \ No newline at end of file diff --git a/cluster/apps/database/redis/service.yaml b/cluster/apps/database/redis/service.yaml deleted file mode 100644 index aaf5728..0000000 --- a/cluster/apps/database/redis/service.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: postgresql - namespace: database - - labels: - app: postgresql - database: postgresql - kubernetes.io/name: "postgresql" -spec: - selector: - app: postgresql - ports: - - name: pgsql - port: 5432 - targetPort: 5432 \ No newline at end of file