From 92ce78edde7eefc783a595670ae7717e123770d6 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 13 Dec 2023 22:06:13 +0100 Subject: [PATCH] Install elementor --- badhouseplants/helmfile.yaml | 5 ++ badhouseplants/values/secrets.elementor.yaml | 28 ++++++++++ badhouseplants/values/values.elementor.yaml | 59 ++++++++++++++++++++ releases.yaml | 10 ++++ 4 files changed, 102 insertions(+) create mode 100644 badhouseplants/values/secrets.elementor.yaml create mode 100644 badhouseplants/values/values.elementor.yaml diff --git a/badhouseplants/helmfile.yaml b/badhouseplants/helmfile.yaml index 450d7b0..197e9bb 100644 --- a/badhouseplants/helmfile.yaml +++ b/badhouseplants/helmfile.yaml @@ -26,6 +26,11 @@ releases: installed: true namespace: nrodionov-application createNamespace: false + + - <<: *elementor + installed: true + namespace: elementor-application + createNamespace: false - <<: *minecraft installed: true diff --git a/badhouseplants/values/secrets.elementor.yaml b/badhouseplants/values/secrets.elementor.yaml new file mode 100644 index 0000000..bcc0a97 --- /dev/null +++ b/badhouseplants/values/secrets.elementor.yaml @@ -0,0 +1,28 @@ +wordpressPassword: ENC[AES256_GCM,data:WVNPgi7QCoCeYqpWETnZWtxnT5dl7Ffzlg==,iv:1nhk8JDEfBSXQwEVUgimsYvv1iyTS2YgALW3Pr2R3Jc=,tag:Xy9BtSWl4V7pyJelZyZN1g==,type:str] +wordpressEmail: ENC[AES256_GCM,data:BXVBeqlUsBS3iLB1LlaZmEVBbCifjSjOiEg=,iv:hbkrawGiZCFka0zuK0mPSLpR6JMgP87pEZIGhAXB1dg=,tag:sWzT00jZZ3mnCPQR85ncEA==,type:str] +mariadb: + auth: + rootPassword: ENC[AES256_GCM,data:BT0YXF8MxiapCyJ4sZ0LwAAfLYzImtfPfw==,iv:W5l1TA6FJXZ9iNTWXKP5wsyB75hG+R0WrCM/QdJ4gxo=,tag:qPg5hBfY7gsAbIFVgUilYQ==,type:str] + database: ENC[AES256_GCM,data:EB/3kKgiTLOWORXhgRpZKYA=,iv:XZXr0vPl0idWYewicpNB+P4CypF3HqndH0uDsx8ZMFY=,tag:2X6rZ3Rw8uCnM+c/I+1Jew==,type:str] + username: ENC[AES256_GCM,data:41CY65J+EfKW0oiq,iv:VGs3Ka3u1KjFI7ZK6WXvus/DNbQkNAHModJcvnAkQ14=,tag:VNDVXpixML+bTc9RZ7IGCg==,type:str] + password: ENC[AES256_GCM,data:Kg417xg8acWSAyMgKyRNzpQ4y5Ow+kLr4A==,iv:L2vr8DtMx6mYPMAStdUooVSVhKKv8YLB3rCsNwzE4f0=,tag:I/j1EAgc65qzHrCUABcDeg==,type:str] +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: + - recipient: age1vzkv97n2p7gfkw8dyx8ctz2kumattz89th2jq47zyjyrarmnssysdkw9v8 + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB0U2QxWDMwMkxxdG1QK0No + VU1sejBKellnSGFpSXpVRTE0clcvS0Q0NXpVCnFXRlpsVXQ0V2NlYk1nUjlUY1Fj + NEJVYkVxalEvdDliSGY3c2dqRmQ4ZWcKLS0tIERYd0laME1iR203SFRPWTlPaCtB + T0dvMXp6NkwwTkRKcFpYMHlJVGFKejAKIy1VdB7mSXLkHZywSc1c+VUgtc0mrUrD + oStf0xCbfZvKx0XhA+u7R0jM5rM6CfvQr4yYTpW2fDszsS9yKjH33A== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2023-12-13T20:16:19Z" + mac: ENC[AES256_GCM,data:vQZxLR2SCEJd29DC9OuSeoblM4vgELPEAVG/1fxpchKzlh2QpKdyz51Art0ATsKcoHM8RjKztMxne5LN2VciFAdvfn3fa4/itG1oK/b8FM0PQkcLJAxtZFeZLfTtW9NCPfTorcEIcA+3PUwSjW1dO6BaeEFxpA9dSceOJd6dXd8=,iv:DzpEwuTFtdzjEh0T1x7W70nluLM1XH8gabLeulgow7g=,tag:9ak6El1tY8W8X//gC0Gbqw==,type:str] + pgp: [] + unencrypted_suffix: _unencrypted + version: 3.8.1 diff --git a/badhouseplants/values/values.elementor.yaml b/badhouseplants/values/values.elementor.yaml new file mode 100644 index 0000000..87f0667 --- /dev/null +++ b/badhouseplants/values/values.elementor.yaml @@ -0,0 +1,59 @@ +--- +# ------------------------------------------ +# -- Istio extenstion. Just because I'm +# -- not using ingress nginx +# ------------------------------------------ +istio: + enabled: true + istio: + - name: elementor-http + gateway: istio-system/badhouseplants-net + kind: http + hostname: elementor.badhouseplants.net + service: elementor-wordpress + port: 8080 + +ext-database: + enabled: true + name: nrodionov-mysql + instance: mysql +wordpressPlugins: + - elementor +wordpressBlogName: Elementor +wordpressUsername: admin +wordpressFirstName: Nikolai +wordpressLastName: Rodionov +wordpressTablePrefix: wp_ +wordpressScheme: http +existingWordPressConfigurationSecret: "" +resources: + requests: + memory: 300Mi + cpu: 10m +service: + type: ClusterIP + ports: + http: 8080 + https: 8443 + +persistence: + enabled: true + storageClass: "" + accessModes: + - ReadWriteOnce + accessMode: ReadWriteOnce + size: 2Gi + dataSource: {} + existingClaim: "" + selector: {} + +mariadb: + enabled: true + primary: + persistence: + enabled: true + storageClass: "" + accessModes: + - ReadWriteOnce + size: 3Gi + diff --git a/releases.yaml b/releases.yaml index 7c673c6..cc2253f 100644 --- a/releases.yaml +++ b/releases.yaml @@ -250,6 +250,16 @@ templates: - template: ext-istio-resource - template: ext-database + elementor: &elementor + name: elementor + chart: bitnami/wordpress + version: 18.1.24 + inherit: + - template: default-env-values + - template: default-env-secrets + - template: ext-istio-resource + - template: ext-database + minio: &minio name: minio chart: minio/minio