diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-06-30 21:46:18 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-06-30 21:46:18 +0200 |
commit | d89e58a60ff8350b1650610c14996ca0a69e0d70 (patch) | |
tree | c567f913b031898cdd8f4c7fb94609f21587fef6 /roles/apps/etherpad-lite/templates/pod-with-mariadb.yml.j2 | |
parent | resync preseed files (diff) | |
parent | fix pod manifest permissions (diff) |
Merge branch 'topic/standalone-kubelet'
Diffstat (limited to 'roles/apps/etherpad-lite/templates/pod-with-mariadb.yml.j2')
-rw-r--r-- | roles/apps/etherpad-lite/templates/pod-with-mariadb.yml.j2 | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/roles/apps/etherpad-lite/templates/pod-with-mariadb.yml.j2 b/roles/apps/etherpad-lite/templates/pod-with-mariadb.yml.j2 deleted file mode 100644 index 9391290f..00000000 --- a/roles/apps/etherpad-lite/templates/pod-with-mariadb.yml.j2 +++ /dev/null @@ -1,54 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "etherpad-lite-{{ item.key }}" -spec: - securityContext: - allowPrivilegeEscalation: false - containers: - - name: etherpad-lite - image: spreadspace/etherpad-lite:{{ item.value.version }} - # securityContext: - # runAsUser: {{ etherpad_lite_app_uid }} - # runAsGroup: {{ etherpad_lite_app_gid }} - resources: - limits: - memory: "4Gi" - volumeMounts: - - name: config - mountPath: /opt/etherpad-lite/settings.json - subPath: settings.json - readOnly: true - ports: - - containerPort: 9001 - hostPort: {{ item.value.port }} - hostIP: 127.0.0.1 - - name: database - image: "mariadb:{{ item.value.database.version }}" - securityContext: - runAsUser: {{ etherpad_lite_db_uid }} - runAsGroup: {{ etherpad_lite_db_gid }} - resources: - limits: - memory: "4Gi" - env: - - name: MYSQL_RANDOM_ROOT_PASSWORD - value: "true" - - name: MYSQL_DATABASE - value: etherpad-lite - - name: MYSQL_USER - value: etherpad-lite - - name: MYSQL_PASSWORD - value: "{{ item.value.database.password }}" - volumeMounts: - - name: database - mountPath: /var/lib/mysql - volumes: - - name: config - hostPath: - path: "{{ etherpad_lite_base_path }}/{{ item.key }}/config/" - type: Directory - - name: database - hostPath: - path: "{{ etherpad_lite_base_path }}/{{ item.key }}/{{ item.value.database.type }}" - type: Directory |