From ce6e5b154806b3612d6faa8c36ac874919b2eada Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Thu, 12 Sep 2024 14:41:13 +0200 Subject: [PATCH] Add pgadmin --- ente-photos/pgadmin-es.yaml | 16 ++++++++++++++++ ente-photos/pgadmin.yaml | 0 longhorn/ingress.yaml | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 ente-photos/pgadmin-es.yaml create mode 100644 ente-photos/pgadmin.yaml diff --git a/ente-photos/pgadmin-es.yaml b/ente-photos/pgadmin-es.yaml new file mode 100644 index 0000000..e732fad --- /dev/null +++ b/ente-photos/pgadmin-es.yaml @@ -0,0 +1,16 @@ +apiVersion: external-secrets.io/v1beta1 +kind: ExternalSecret +metadata: + name: postgresql-es + namespace: ente-photos +spec: + refreshInterval: "15s" + secretStoreRef: + name: vault-backend + kind: ClusterSecretStore + target: + name: pgadmin-secret + + dataFrom: + - extract: + key: pgadmin diff --git a/ente-photos/pgadmin.yaml b/ente-photos/pgadmin.yaml new file mode 100644 index 0000000..e69de29 diff --git a/longhorn/ingress.yaml b/longhorn/ingress.yaml index bcb5aed..3630c16 100644 --- a/longhorn/ingress.yaml +++ b/longhorn/ingress.yaml @@ -19,7 +19,7 @@ spec: - http: paths: - pathType: Prefix - path: "/" + path: "/longhorn" backend: service: name: longhorn-frontend