Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
devops:setup_pgadmin_on_kubernetes [2021/02/10 09:13] – [Проблемы] admin | devops:setup_pgadmin_on_kubernetes [2021/02/10 21:13] – [Проблемы] admin | ||
---|---|---|---|
Line 115: | Line 115: | ||
securityContext: | securityContext: | ||
runAsUser: 0</ | runAsUser: 0</ | ||
+ | * В файле values родительского чарта записи такие: | ||
+ | < | ||
+ | global: | ||
+ | environment: | ||
+ | postgresql: | ||
+ | fullnameOverride: | ||
+ | postgresqlUsername: | ||
+ | postgresqlPassword: | ||
+ | postgresqlDatabase: | ||
+ | service: | ||
+ | port: 5432 | ||
+ | ... | ||
+ | postgresql: | ||
+ | enabled: true | ||
+ | fullnameOverride: | ||
+ | ... | ||
+ | pgadmin4: | ||
+ | serverDefinitions: | ||
+ | #defined in _helpers.tpl - " | ||
+ | enabled: true | ||
+ | extraSecretMounts: | ||
+ | - name: pgpassfile | ||
+ | secret: pgpassfile | ||
+ | subPath: pgpassfile | ||
+ | mountPath: "/ | ||
+ | readOnly: true | ||
+ | extraInitContainers: | ||
+ | - name: pgpass-permissions-init | ||
+ | image: " | ||
+ | command: | ||
+ | - "/ | ||
+ | - " | ||
+ | - "/ | ||
+ | securityContext: | ||
+ | runAsUser: 0 | ||
+ | volumeMounts: | ||
+ | - mountPath: /pgpass | ||
+ | name: pgpassfile | ||
+ | readOnly: false | ||
+ | subPath: pgpassfile | ||
+ | - mountPath: / | ||
+ | name: pgadmin-data | ||
+ | persistentVolume: | ||
+ | enabled: false | ||
+ | securityContext: | ||
+ | runAsUser: 0 | ||
+ | runAsGroup: 0 | ||
+ | fsGroup: 0 | ||
+ | </ |