staefullset

This commit is contained in:
Micke Nordin 2023-03-28 23:37:32 +02:00
parent fd5dbdb0c8
commit 0c0f704a89
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
3 changed files with 446 additions and 439 deletions

View file

@ -1,5 +1,4 @@
--- kind: StatefulSet
kind: Deployment
apiVersion: apps/v1 apiVersion: apps/v1
metadata: metadata:
name: customer-node name: customer-node
@ -10,145 +9,147 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: customer-node app: customer-node
updateStrategy:
type: RollingUpdate
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
name: nextcloud-data name: nextcloud-data
spec: spec:
storageClassName: mayastor-3 storageClassName: mayastor-3
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: 1Gi storage: 1Gi
template: template:
metadata: metadata:
creationTimestamp:
labels: labels:
app: customer-node app: customer-node
spec: spec:
restartPolicy: Always
containers: containers:
- name: customer - name: customer
image: docker.sunet.se/drive/nextcloud-custom:25.0.3.3-4 image: docker.sunet.se/drive/nextcloud-custom:25.0.3.3-4
volumeMounts: volumeMounts:
- name: nextcloud-data - name: nextcloud-data
mountPath: /var/www/html/config mountPath: /var/www/html/config
subPath: config subPath: config
ports:
- containerPort: 80
name: nextcloud-http
initContainers: initContainers:
- image: docker.sunet.se/sunet/docker-jinja:latest - image: docker.sunet.se/sunet/docker-jinja:latest
name: init-config name: init-config
volumeMounts: volumeMounts:
- name: nextcloud-config-template - name: nextcloud-config-template
mountPath: /tmp/config.php.template mountPath: /tmp/config.php.template
subPath: config.php subPath: config.php
- name: nextcloud-data - name: nextcloud-data
mountPath: /var/www/html/config mountPath: /var/www/html/config
subPath: config subPath: config
env: env:
- name: ADMIN_PASSWORD - name: ADMIN_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_admin_password" key: "proxysql_admin_password"
- name: GSS_MASTER_URL - name: GSS_MASTER_URL
value: "https://drive.test.sunet.se" value: "https://drive.test.sunet.se"
- name: GSS_JWT_KEY - name: GSS_JWT_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: gss-secret name: gss-secret
key: "jwt_key" key: "jwt_key"
- name: LOOKUP_SERVER - name: LOOKUP_SERVER
value: "https://lookup.drive.test.sunet.se" value: "https://lookup.drive.test.sunet.se"
- name: MAIL_DOMAIN - name: MAIL_DOMAIN
value: "drive.test.sunet.se" value: "drive.test.sunet.se"
- name: MAIL_FROM_ADDRESS - name: MAIL_FROM_ADDRESS
value: "noreply" value: "noreply"
- name: MAIL_SMTPHOST - name: MAIL_SMTPHOST
value: "smtp.sunet.se" value: "smtp.sunet.se"
- name: MAIL_SMTPNAME - name: MAIL_SMTPNAME
value: "noreply@drive.test.sunet.se" value: "noreply@drive.test.sunet.se"
- name: MAIL_SMTPPASSWORD - name: MAIL_SMTPPASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: mail-secret name: mail-secret
key: "smtp_password" key: "smtp_password"
- name: MYSQL_DATABASE - name: MYSQL_DATABASE
value: "customer_nextcloud" value: "customer_nextcloud"
- name: MYSQL_USER - name: MYSQL_USER
value: "customer_nextcloud" value: "customer_nextcloud"
- name: MYSQL_HOST - name: MYSQL_HOST
value: "proxysql.proxysql" value: "proxysql.proxysql"
- name: MYSQL_PASSWORD - name: MYSQL_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: db-secret name: db-secret
key: "db_password" key: "db_password"
- name: MYSQL_PORT - name: MYSQL_PORT
value: "6033" value: "6033"
- name: NEXTCLOUD_TRUSTED_DOMAINS - name: NEXTCLOUD_TRUSTED_DOMAINS
value: "customer.drive.test.sunet.se" value: "customer.drive.test.sunet.se"
- name: NEXTCLOUD_ADMIN_USER - name: NEXTCLOUD_ADMIN_USER
value: admin value: admin
- name: NEXTCLOUD_VERSION_STRING - name: NEXTCLOUD_VERSION_STRING
value: "25.0.3.3" value: "25.0.3.3"
- name: NEXTCLOUD_ADMIN_PASSWORD - name: NEXTCLOUD_ADMIN_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: nc-secret name: nc-secret
key: "nc_admin_password" key: "nc_admin_password"
- name: NEXTCLOUD_PASSWORDSALT - name: NEXTCLOUD_PASSWORDSALT
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: nc-secret name: nc-secret
key: "nc_passwordsalt" key: "nc_passwordsalt"
- name: NEXTCLOUD_INSTANCEID - name: NEXTCLOUD_INSTANCEID
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: nc-secret name: nc-secret
key: "nc_instanceid" key: "nc_instanceid"
- name: NEXTCLOUD_SECRET - name: NEXTCLOUD_SECRET
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: nc-secret name: nc-secret
key: "nc_secret" key: "nc_secret"
- name: OBJECTSTORE_S3_REGION - name: OBJECTSTORE_S3_REGION
value: "us-east-1" value: "us-east-1"
- name: OBJECTSTORE_S3_HOST - name: OBJECTSTORE_S3_HOST
value: "s3.sto4.safedc.net" value: "s3.sto4.safedc.net"
- name: OBJECTSTORE_S3_BUCKET - name: OBJECTSTORE_S3_BUCKET
value: "primary-customer-drive-test.sunet.se" value: "primary-customer-drive-test.sunet.se"
- name: OBJECTSTORE_S3_KEY - name: OBJECTSTORE_S3_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: s3-secret name: s3-secret
key: "s3_key" key: "s3_key"
- name: OBJECTSTORE_S3_SECRET - name: OBJECTSTORE_S3_SECRET
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: s3-secret name: s3-secret
key: "s3_secret" key: "s3_secret"
- name: OBJECTSTORE_S3_USEPATH_STYLE - name: OBJECTSTORE_S3_USEPATH_STYLE
value: "true" value: "true"
- name: OBJECTSTORE_S3_AUTOCREATE - name: OBJECTSTORE_S3_AUTOCREATE
value: "true" value: "true"
- name: OBJECTSTORE_S3_SSL - name: OBJECTSTORE_S3_SSL
value: "true" value: "true"
- name: REDIS_HOST - name: REDIS_HOST
value: "redis.redis" value: "redis.redis"
- name: REDIS_PASSWORD - name: REDIS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: redis-secret name: redis-secret
key: "redis_password" key: "redis_password"
- name: SITE_NAME - name: SITE_NAME
value: "customer.drive.test.sunet.se" value: "customer.drive.test.sunet.se"
command: ["/bin/sh", "-c", "/usr/bin/j2 -f env -o /var/www/html/config/config.php /tmp/config.php.template"] command: ["/bin/sh", "-c", "/usr/bin/j2 -f env -o /var/www/html/config/config.php /tmp/config.php.template"]
volumes: volumes:
- name: nextcloud-config-template - name: nextcloud-config-template
configMap: configMap:
name: nextcloud-configmap name: nextcloud-configmap
items: items:
- key: "config.php" - key: "config.php"
path: "config.php" path: "config.php"
resources: {}
strategy: {}
status: {}

View file

@ -1,30 +1,37 @@
--- kind: StatefulSet
kind: Deployment
apiVersion: apps/v1 apiVersion: apps/v1
metadata: metadata:
name: customer-node name: customer-node
labels: labels:
app: customer-node app: customer-node
spec: spec:
replicas: 1 template:
selector: metadata:
matchLabels: labels:
app: customer-node app: customer-node
spec: spec:
initContainers: initContainers:
- name: init-config - image: docker.sunet.se/sunet/docker-jinja:latest
env: name: init-config
- name: GSS_MASTER_URL volumeMounts:
value: "https://drive.test.sunet.se" - name: nextcloud-config-template
- name: LOOKUP_SERVER mountPath: /tmp/config.php.template
value: "https://lookup.drive.test.sunet.se" subPath: config.php
- name: MAIL_DOMAIN - name: nextcloud-data
value: "drive.test.sunet.se" mountPath: /var/www/html/config
- name: MAIL_SMTPNAME subPath: config
value: "noreply@drive.test.sunet.se" env:
- name: NEXTCLOUD_TRUSTED_DOMAINS - name: GSS_MASTER_URL
value: "customer.drive.test.sunet.se" value: "https://drive.test.sunet.se"
- name: OBJECTSTORE_S3_BUCKET - name: LOOKUP_SERVER
value: "primary-vr-drive-test.sunet.se" value: "https://lookup.drive.test.sunet.se"
- name: SITE_NAME - name: MAIL_DOMAIN
value: "vr.drive.test.sunet.se" value: "drive.test.sunet.se"
- name: MAIL_SMTPNAME
value: "noreply@drive.test.sunet.se"
- name: NEXTCLOUD_TRUSTED_DOMAINS
value: "vr.drive.test.sunet.se"
- name: OBJECTSTORE_S3_BUCKET
value: "primary-vr-drive-test.sunet.se"
- name: SITE_NAME
value: "vr.drive.test.sunet.se"

View file

@ -1,4 +1,3 @@
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
metadata: metadata:
@ -15,26 +14,26 @@ spec:
updateStrategy: updateStrategy:
type: RollingUpdate type: RollingUpdate
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
name: proxysql-data name: proxysql-data
namespace: proxysql namespace: proxysql
spec: spec:
storageClassName: mayastor-3 storageClassName: mayastor-3
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: 2Gi storage: 2Gi
- metadata: - metadata:
name: proxysql-etc name: proxysql-etc
namespace: proxysql namespace: proxysql
spec: spec:
storageClassName: mayastor-3 storageClassName: mayastor-3
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: 2Gi storage: 2Gi
template: template:
metadata: metadata:
labels: labels:
@ -42,267 +41,267 @@ spec:
spec: spec:
restartPolicy: Always restartPolicy: Always
containers: containers:
- image: proxysql/proxysql:2.3.1 - image: proxysql/proxysql:2.3.1
name: proxysql name: proxysql
volumeMounts: volumeMounts:
- name: proxysql-data - name: proxysql-data
mountPath: /var/lib/proxysql mountPath: /var/lib/proxysql
subPath: data subPath: data
- name: proxysql-etc - name: proxysql-etc
mountPath: /etc mountPath: /etc
subPath: etc subPath: etc
ports: ports:
- containerPort: 6033 - containerPort: 6033
name: proxysql-mysql name: proxysql-mysql
- containerPort: 6032 - containerPort: 6032
name: proxysql-admin name: proxysql-admin
initContainers: initContainers:
- image: docker.sunet.se/sunet/docker-jinja:latest - image: docker.sunet.se/sunet/docker-jinja:latest
name: init-config name: init-config
volumeMounts: volumeMounts:
- name: proxysql-config-template - name: proxysql-config-template
mountPath: /tmp/proxysql.cnf.template mountPath: /tmp/proxysql.cnf.template
subPath: proxysql.cnf subPath: proxysql.cnf
- name: proxysql-etc - name: proxysql-etc
mountPath: /etc mountPath: /etc
subPath: etc subPath: etc
env: env:
- name: ADMIN_PASSWORD - name: ADMIN_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_admin_password" key: "proxysql_admin_password"
- name: CLUSTER_PASSWORD - name: CLUSTER_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_cluster_password" key: "proxysql_cluster_password"
- name: MONITOR_PASSWORD - name: MONITOR_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_monitor_password" key: "proxysql_monitor_password"
- name: ANTAGNING_PASSWORD - name: ANTAGNING_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_antagning_password" key: "proxysql_antagning_password"
- name: BTH_PASSWORD - name: BTH_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_bth_password" key: "proxysql_bth_password"
- name: CHALMERS_PASSWORD - name: CHALMERS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_chalmers_password" key: "proxysql_chalmers_password"
- name: DU_PASSWORD - name: DU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_du_password" key: "proxysql_du_password"
- name: ESH_PASSWORD - name: ESH_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_esh_password" key: "proxysql_esh_password"
- name: FHS_PASSWORD - name: FHS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_fhs_password" key: "proxysql_fhs_password"
- name: GU_PASSWORD - name: GU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_gu_password" key: "proxysql_gu_password"
- name: HB_PASSWORD - name: HB_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_hb_password" key: "proxysql_hb_password"
- name: HHS_PASSWORD - name: HHS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_hhs_password" key: "proxysql_hhs_password"
- name: HIG_PASSWORD - name: HIG_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_hig_password" key: "proxysql_hig_password"
- name: HIS_PASSWORD - name: HIS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_his_password" key: "proxysql_his_password"
- name: HJ_PASSWORD - name: HJ_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_hj_password" key: "proxysql_hj_password"
- name: HV_PASSWORD - name: HV_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_hv_password" key: "proxysql_hv_password"
- name: IRF_PASSWORD - name: IRF_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_irf_password" key: "proxysql_irf_password"
- name: KB_PASSWORD - name: KB_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_kb_password" key: "proxysql_kb_password"
- name: KI_PASSWORD - name: KI_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_ki_password" key: "proxysql_ki_password"
- name: KKH_PASSWORD - name: KKH_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_kkh_password" key: "proxysql_kkh_password"
- name: KMH_PASSWORD - name: KMH_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_kmh_password" key: "proxysql_kmh_password"
- name: KONSTFACK_PASSWORD - name: KONSTFACK_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_konstfack_password" key: "proxysql_konstfack_password"
- name: KTH_PASSWORD - name: KTH_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_kth_password" key: "proxysql_kth_password"
- name: KVA_PASSWORD - name: KVA_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_kva_password" key: "proxysql_kva_password"
- name: LIU_PASSWORD - name: LIU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_liu_password" key: "proxysql_liu_password"
- name: LNU_PASSWORD - name: LNU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_lnu_password" key: "proxysql_lnu_password"
- name: LTU_PASSWORD - name: LTU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_ltu_password" key: "proxysql_ltu_password"
- name: LU_PASSWORD - name: LU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_lu_password" key: "proxysql_lu_password"
- name: MAU_PASSWORD - name: MAU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_mau_password" key: "proxysql_mau_password"
- name: MIUN_PASSWORD - name: MIUN_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_miun_password" key: "proxysql_miun_password"
- name: NORDUNET_PASSWORD - name: NORDUNET_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_nordunet_password" key: "proxysql_nordunet_password"
- name: NRM_PASSWORD - name: NRM_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_nrm_password" key: "proxysql_nrm_password"
- name: ORU_PASSWORD - name: ORU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_oru_password" key: "proxysql_oru_password"
- name: RKH_PASSWORD - name: RKH_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_rkh_password" key: "proxysql_rkh_password"
- name: SHH_PASSWORD - name: SHH_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_shh_password" key: "proxysql_shh_password"
- name: SICS_PASSWORD - name: SICS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_sics_password" key: "proxysql_sics_password"
- name: SLU_PASSWORD - name: SLU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_slu_password" key: "proxysql_slu_password"
- name: SMHI_PASSWORD - name: SMHI_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_smhi_password" key: "proxysql_smhi_password"
- name: SP_PASSWORD - name: SP_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_sp_password" key: "proxysql_sp_password"
- name: SWAMID_PASSWORD - name: SWAMID_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_swamid_password" key: "proxysql_swamid_password"
- name: THS_PASSWORD - name: THS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_ths_password" key: "proxysql_ths_password"
- name: UHR_PASSWORD - name: UHR_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_uhr_password" key: "proxysql_uhr_password"
- name: UMU_PASSWORD - name: UMU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_umu_password" key: "proxysql_umu_password"
- name: UNIARTS_PASSWORD - name: UNIARTS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_uniarts_password" key: "proxysql_uniarts_password"
- name: UU_PASSWORD - name: UU_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_uu_password" key: "proxysql_uu_password"
- name: VINNOVA_PASSWORD - name: VINNOVA_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_vinnova_password" key: "proxysql_vinnova_password"
- name: VR_PASSWORD - name: VR_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: proxysql-secret name: proxysql-secret
key: "proxysql_vr_password" key: "proxysql_vr_password"
command: ["/bin/sh", "-c", "/usr/bin/j2 -f env -o /etc/proxysql.cnf /tmp/proxysql.cnf.template"] command: ["/bin/sh", "-c", "/usr/bin/j2 -f env -o /etc/proxysql.cnf /tmp/proxysql.cnf.template"]
volumes: volumes:
- name: proxysql-config-template - name: proxysql-config-template
configMap: configMap: