WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit b492629

Browse files
committed
Migrate postgres to common infisical chart
1 parent c45659e commit b492629

File tree

4 files changed

+18
-19
lines changed

4 files changed

+18
-19
lines changed

infra/postgres/Chart.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
apiVersion: v2
22
name: postgres
33
version: 1.0.0
4+
5+
dependencies:
6+
- name: infisical-secret
7+
version: 1.0.0
8+
repository: file://../../common/infisical-secret
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{{- if not (index .Values "infisical-secret" "enabled") }}
2+
apiVersion: v1
3+
kind: Secret
4+
metadata:
5+
name: {{ .Chart.Name }}
6+
type: Opaque
7+
stringData:
8+
HYDRA_PASSWORD: "banana"
9+
POSTGRES_PASSWORD: "banana"
10+
WIKIJS_PASSWORD: "banana"
11+
{{- end}}

infra/postgres/templates/secret.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

infra/postgres/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
infisical-secret:
2+
name: postgres

0 commit comments

Comments
 (0)