From 23b33621f15a573043058653274bc64ef94d0e43 Mon Sep 17 00:00:00 2001 From: RahulCloud93 Date: Mon, 12 May 2025 10:58:45 +0530 Subject: [PATCH] Update appz.yml --- appz.yml | 66 ++++++++++++++++++++++++++------------------------------ 1 file changed, 31 insertions(+), 35 deletions(-) diff --git a/appz.yml b/appz.yml index 9ae3f8b..8695505 100644 --- a/appz.yml +++ b/appz.yml @@ -1,39 +1,35 @@ - app: - name: MySQL - code: mysql - notify: nsrahul@cloudbourne.com +app: + name: MySQL + code: mysql + notify: nsrahul@cloudbourne.com - build: - version: 8.0 - env: POC - build_file: none - output_files: output/*.zip - image_template: mysql_cluster-8.0 +build: + version: 8.0 + env: POC + build_file: none + output_files: output/*.zip + image_template: mysql_cluster-8.0 - deploy: - context: alpha/POC - type: statefulset - replicas: 1 - resources: x-large - ingress: none - port: - - 3306 +deploy: + context: alpha/POC + type: statefulset + replicas: 3 + port: + - 3306 - volumes: - - claim: mysql-data - mount: /var/lib/mysql - name: data - size: 5Gi - - claim: mysql-backup - mount: /appz/backup - name: backup - size: 5Gi +volumes: + - name: data + claim: mysql-data + mount: /appz/data + size: 5Gi + - name: backup + claim: mysql-backup + mount: /appz/backup + size: 5Gi - properties: - MYSQL_ROOT_PASSWORD: - vault: MYSQL_ROOT_PASSWORD_KEY - MYSQL_SPRINGBOOTWEB_PASSWORD: - vault: MYSQL_SPRINGBOOTWEB_PASSWORD - MYSQL_WORDPRESS_PASSWORD: - vault: MYSQL_WORDPRESS_PASSWORD - revision : 3 +properties: + MYSQL_ROOT_PASSWORD: + vault: MYSQL_ROOT_PASSWORD_KEY + REPLICAS: 3 + +revision: 2