diff --git a/kustomization.yaml b/kustomization.yaml index abc7074..9237cb0 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -8,7 +8,6 @@ resources: - zot/argocd.yaml # PostgreSQL databases - postgresql/argocd/postgresql.yaml - - postgresql-dev/argocd.yaml # Database tools - pgweb/argocd.yaml # Operators diff --git a/postgresql-dev/argocd.yaml b/postgresql-dev/argocd.yaml deleted file mode 100644 index 2d5f021..0000000 --- a/postgresql-dev/argocd.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: postgresql-dev - namespace: argocd - finalizers: - - resources-finalizer.argocd.argoproj.io -spec: - project: default - sources: - - repoURL: https://charts.bitnami.com/bitnami - chart: postgresql - targetRevision: 16.2.1 - helm: - valueFiles: - - $values/postgresql-dev/helm-values.yaml - - repoURL: https://github.com/K3S-HOME/storage.git - targetRevision: main - ref: values - - repoURL: https://github.com/K3S-HOME/storage.git - targetRevision: main - path: postgresql-dev - destination: - server: https://kubernetes.default.svc - namespace: postgresql-dev - syncPolicy: - automated: - prune: true - selfHeal: true - allowEmpty: false - syncOptions: - - CreateNamespace=true - - PrunePropagationPolicy=foreground - - PruneLast=true - retry: - limit: 5 - backoff: - duration: 5s - factor: 2 - maxDuration: 3m - managedNamespaceMetadata: - labels: - goldilocks.fairwinds.com/enabled: 'true' - revisionHistoryLimit: 10 diff --git a/postgresql-dev/helm-values.yaml b/postgresql-dev/helm-values.yaml deleted file mode 100644 index 6bc537b..0000000 --- a/postgresql-dev/helm-values.yaml +++ /dev/null @@ -1,33 +0,0 @@ -# PostgreSQL (Development) Helm Values -# Chart: https://github.com/bitnami/charts/tree/main/bitnami/postgresql -# Single instance for development - -fullnameOverride: postgresql-dev - -image: - tag: latest - -architecture: standalone - -auth: - existingSecret: postgresql-password-dev - secretKeys: - adminPasswordKey: postgres-password - userPasswordKey: password - username: bluemayne - database: postgres - -primary: - persistence: - enabled: true - size: 1Gi - storageClass: local-path-retain - resources: - requests: - memory: "128Mi" - cpu: "30m" - limits: - memory: "256Mi" - -metrics: - enabled: false diff --git a/postgresql-dev/kustomization.yaml b/postgresql-dev/kustomization.yaml deleted file mode 100644 index f27909e..0000000 --- a/postgresql-dev/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- manifests/secret.yaml diff --git a/postgresql-dev/manifests/secret.yaml b/postgresql-dev/manifests/secret.yaml deleted file mode 100644 index d42abdf..0000000 --- a/postgresql-dev/manifests/secret.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: external-secrets.io/v1 -kind: ExternalSecret -metadata: - name: postgresql-password-dev - namespace: postgresql-dev -spec: - refreshInterval: 1h - secretStoreRef: - kind: ClusterSecretStore - name: vault-backend - target: - name: postgresql-password-dev - creationPolicy: Owner - data: - - secretKey: password - remoteRef: - key: postgresql-dev - property: PASSWORD - - secretKey: postgres-password - remoteRef: - key: postgresql-dev - property: POSTGRES_PASSWORD