From 0f265187ed7a56830e989d9b7cfe17c0642aa5ee Mon Sep 17 00:00:00 2001 From: alexlebens Date: Tue, 2 Jul 2024 11:50:21 -0500 Subject: [PATCH] remove ghost and mysql --- clusters/cl01tl/applications/ghost/Chart.yaml | 31 ----- .../ghost/templates/external-secret.yaml | 119 ------------------ .../cl01tl/applications/ghost/values.yaml | 71 ----------- .../cl01tl/storage/mysql-operator/Chart.yaml | 22 ---- .../cl01tl/storage/mysql-operator/values.yaml | 5 - 5 files changed, 248 deletions(-) delete mode 100644 clusters/cl01tl/applications/ghost/Chart.yaml delete mode 100644 clusters/cl01tl/applications/ghost/templates/external-secret.yaml delete mode 100644 clusters/cl01tl/applications/ghost/values.yaml delete mode 100644 clusters/cl01tl/storage/mysql-operator/Chart.yaml delete mode 100644 clusters/cl01tl/storage/mysql-operator/values.yaml diff --git a/clusters/cl01tl/applications/ghost/Chart.yaml b/clusters/cl01tl/applications/ghost/Chart.yaml deleted file mode 100644 index 63c02bac4..000000000 --- a/clusters/cl01tl/applications/ghost/Chart.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: v2 -name: ghost -version: 1.0.0 -description: Ghost -keywords: - - ghost - - cms - - blog -home: https://wiki.alexlebens.dev/doc/ghost-seATqp9RfU -sources: - - https://github.com/TryGhost/Ghost - - https://github.com/cloudflare/cloudflared - - https://dev.mysql.com/doc/mysql-operator/en/ - - https://hub.docker.com/r/bitnami/ghost - - https://github.com/bitnami/charts/tree/main/bitnami/ghost - - https://github.com/alexlebens/helm-charts/tree/main/charts/cloudflared - - https://github.com/alexlebens/helm-charts/tree/main/charts/mysql-cluster -dependencies: - - name: ghost - repository: oci://registry-1.docker.io/bitnamicharts - version: 21.1.15 - - name: cloudflared - alias: cloudflared - repository: http://alexlebens.github.io/helm-charts - version: 1.4.0 - - name: mysql-cluster - alias: mysql-8-cluster - version: 0.2.4 - repository: http://alexlebens.github.io/helm-charts -icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/ghost.png -appVersion: 5.86.2 diff --git a/clusters/cl01tl/applications/ghost/templates/external-secret.yaml b/clusters/cl01tl/applications/ghost/templates/external-secret.yaml deleted file mode 100644 index 7a6e340ce..000000000 --- a/clusters/cl01tl/applications/ghost/templates/external-secret.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - name: ghost-credentials-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: ghost-credentials-secret - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - secretStoreRef: - kind: ClusterSecretStore - name: vault - data: - - secretKey: ghost-password - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/ghost/config/credentials - metadataPolicy: None - property: ghost-password - ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - name: ghost-mysql-credentials-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: ghost-mysql-credentials-secret - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - secretStoreRef: - kind: ClusterSecretStore - name: vault - data: - - secretKey: mysql-password - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/ghost/mysql/credentials - metadataPolicy: None - property: ghost-user - - secretKey: rootUser - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/ghost/mysql/credentials - metadataPolicy: None - property: rootUser - - secretKey: rootHost - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/ghost/mysql/credentials - metadataPolicy: None - property: rootHost - - secretKey: rootPassword - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/ghost/mysql/credentials - metadataPolicy: None - property: rootPassword - ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - name: ghost-mysql-backup-credentials-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: ghost-mysql-backup-credentials-secret - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - secretStoreRef: - kind: ClusterSecretStore - name: vault - data: - - secretKey: config - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/ghost/mysql/credentials - metadataPolicy: None - property: backup-config - ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - name: ghost-cloudflared-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: ghost-cloudflared-secret - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - secretStoreRef: - kind: ClusterSecretStore - name: vault - data: - - secretKey: cf-tunnel-token - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cloudflare/tunnels/ghost - metadataPolicy: None - property: token diff --git a/clusters/cl01tl/applications/ghost/values.yaml b/clusters/cl01tl/applications/ghost/values.yaml deleted file mode 100644 index bf6a1cb92..000000000 --- a/clusters/cl01tl/applications/ghost/values.yaml +++ /dev/null @@ -1,71 +0,0 @@ -ghost: - updateStrategy: - type: Recreate - ghostUsername: user - existingSecret: ghost-credentials-secret - ghostEmail: alexanderlebens@gmail.com - ghostBlogTitle: Alex Lebens - ghostHost: blog.alexlebens.dev - ghostPath: / - ghostSkipInstall: false - replicaCount: 1 - resourcesPreset: small - service: - type: ClusterIP - persistence: - enabled: true - storageClass: ceph-block - accessModes: - - ReadWriteOnce - size: 10Gi - mysql: - enabled: false - externalDatabase: - host: ghost-mysql-8-cluster.ghost.svc.cluster.local - port: 3306 - user: ghost - database: ghost - existingSecret: ghost-mysql-credentials-secret -cloudflared: - existingSecretName: ghost-cloudflared-secret -mysql-8-cluster: - mode: standalone - cluster: - serverInstances: 3 - baseServerId: 1000 - exisitingCredentialsSecret: ghost-mysql-credentials-secret - logs: - general: - enabled: true - slowQuery: - enabled: true - longQueryTime: 2.5 - datadirVolumeClaimTemplate: - storageClassName: ceph-block - accessModes: ReadWriteOnce - size: 20Gi - podSpec: - containers: - - name: mysql - resources: - requests: - memory: 1Gi - cpu: 100m - backup: - enabled: true - profiles: - - name: dump-instance-profile - dumpInstance: - storage: - s3: - prefix: ghost/instance - config: ghost-mysql-backup-credentials-secret - bucketName: cl01tl-mysql-backups - endpoint: https://s3.us-east-2.amazonaws.com - schedules: - - name: dump-instance-schedule - schedule: "0 0 * * *" - timeZone: US/Central - deleteBackupData: false - backupProfileName: dump-instance-profile - enabled: true diff --git a/clusters/cl01tl/storage/mysql-operator/Chart.yaml b/clusters/cl01tl/storage/mysql-operator/Chart.yaml deleted file mode 100644 index ae84028ad..000000000 --- a/clusters/cl01tl/storage/mysql-operator/Chart.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: v2 -name: mysql-operator -version: 1.0.0 -description: MySQL Operator -keywords: - - mysql-operator - - mysql - - operator - - kubernetes -home: https://wiki.alexlebens.dev/doc/mysql-operator-9nup8gCDF9 -sources: - - https://github.com/mysql/mysql-operator - - https://container-registry.oracle.com/ords/ocr/ba/mysql/community-operator - - https://github.com/mysql/mysql-operator/tree/trunk/helm/mysql-operator -maintainers: - - name: alexlebens -dependencies: - - name: mysql-operator - version: 2.2.0 - repository: https://mysql.github.io/mysql-operator/ -icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/mysql.png -appVersion: 8.4.0-2.1.3 diff --git a/clusters/cl01tl/storage/mysql-operator/values.yaml b/clusters/cl01tl/storage/mysql-operator/values.yaml deleted file mode 100644 index ae985f417..000000000 --- a/clusters/cl01tl/storage/mysql-operator/values.yaml +++ /dev/null @@ -1,5 +0,0 @@ -mysql-operator: - envs: - imagesPullPolicy: IfNotPresent - k8sClusterDomain: cluster.local - disableLookups: false