Skip to content

Commit

Permalink
feat: add pgadmin chart
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed May 2, 2024
1 parent 7ca08a2 commit 922a554
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 25 deletions.
8 changes: 8 additions & 0 deletions .kontinuous/env/preprod/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v2
name: pgadmin
version: 0.0.0

depedencies:
- name: pgadmin
degit: socialgouv/heml-charts/charts/pgadmin@v1
version: "1"
2 changes: 1 addition & 1 deletion .kontinuous/env/preprod/templates/kyverno.policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
stringData:
servers: |
{
Servers: {
"Servers": {
"1": {
"Username": "{{`{{`}}base64_decode(user){{`}}`}}"
"Host": "{{`{{`}}base64_decode(host){{`}}`}}"
Expand Down
48 changes: 24 additions & 24 deletions .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,27 +131,27 @@ pg-strapi:
backup:
~tpl~enabled: "false"

pgadmin:
~chart: app
imagePackage: pgadmin
image: dpage/pgadmin4:8.5
containerPort: 80
probesPath: /
securityContext:
runAsUser: 5050
envFrom:
- secretRef:
name: pgadmin
vars:
PGADMIN_CONFIG_SERVER_MODE: "False"
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: "False"
volumeMounts:
- mountPath: /pgadmin
name: servers
volumes:
- name: servers
secret:
secretName: pgadmin-servers
items:
- key: servers
path: servers.json
# pgadmin:
# ~chart: app
# imagePackage: pgadmin
# image: dpage/pgadmin4:8.5
# containerPort: 80
# probesPath: /
# securityContext:
# runAsUser: 5050
# envFrom:
# - secretRef:
# name: pgadmin
# vars:
# PGADMIN_CONFIG_SERVER_MODE: "False"
# PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: "False"
# volumeMounts:
# - mountPath: /pgadmin
# name: servers
# volumes:
# - name: servers
# secret:
# secretName: pgadmin-servers
# items:
# - key: servers
# path: servers.json

0 comments on commit 922a554

Please sign in to comment.