remove ghost and mysql

This commit is contained in:
2024-07-02 11:50:21 -05:00
parent 002f02bd71
commit 0f265187ed
5 changed files with 0 additions and 248 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,5 +0,0 @@
mysql-operator:
envs:
imagesPullPolicy: IfNotPresent
k8sClusterDomain: cluster.local
disableLookups: false