diff --git a/manifests/amanwalekar-3099-mysql-8-4-application.yaml b/manifests/amanwalekar-3099-mysql-8-4-application.yaml new file mode 100644 index 0000000..7b2caaf --- /dev/null +++ b/manifests/amanwalekar-3099-mysql-8-4-application.yaml @@ -0,0 +1,41 @@ +{ + "apiVersion": "argoproj.io/v1alpha1", + "kind": "Application", + "metadata": { + "name": "amanwalekar-3099-mysql-8-4", + "namespace": "argocd", + "labels": { + "environment": "amanwalekar-3099", + "provisioned-by": "backstage", + "shared-mysql": "true" + }, + "finalizers": [ + "resources-finalizer.argocd.argoproj.io" + ] + }, + "spec": { + "project": "default", + "source": { + "repoURL": "https://helm.wso2.com", + "chart": "mysql", + "targetRevision": "1.6.9", + "helm": { + "values": "image: mysql\nimageTag: '8.4'\nmysqlRootPassword: rootpassword\nfullnameOverride: mysql-8-4\ninitializationFiles:\n init-databases.sql: >-\n -- Auto-generated database initialization\n\n -- Database for property-settings-v3-service\n\n CREATE DATABASE IF NOT EXISTS `property_settings_db_v2` CHARACTER SET\n utf8mb4 COLLATE utf8mb4_unicode_ci;\n\n CREATE USER IF NOT EXISTS 'ps_user'@'%' IDENTIFIED BY 'localpassword';\n\n GRANT ALL PRIVILEGES ON `property_settings_db_v2`.* TO 'ps_user'@'%';\n\n -- Database for hades-v3-service\n\n CREATE DATABASE IF NOT EXISTS `hades_db` CHARACTER SET utf8mb4 COLLATE\n utf8mb4_unicode_ci;\n\n CREATE USER IF NOT EXISTS 'hades_user'@'%' IDENTIFIED BY 'local-hades-pass';\n\n GRANT ALL PRIVILEGES ON `hades_db`.* TO 'hades_user'@'%';\n\n FLUSH PRIVILEGES;\npersistence:\n enabled: true\n size: 8Gi\nresources:\n requests:\n cpu: 250m\n memory: 512Mi\n" + } + }, + "destination": { + "server": "https://kubernetes.default.svc", + "namespace": "amanwalekar-3099" + }, + "syncPolicy": { + "automated": { + "prune": true, + "selfHeal": true + }, + "syncOptions": [ + "CreateNamespace=false", + "ServerSideApply=true" + ] + } + } +} \ No newline at end of file