rm blog folder and es

This commit is contained in:
Ruben Hensen
2025-03-26 03:39:09 +01:00
parent 990360706a
commit 99a93827b4
2 changed files with 157 additions and 158 deletions
+127 -128
View File
@@ -1,129 +1,128 @@
apiVersion: argoproj.io/v1alpha1 # apiVersion: argoproj.io/v1alpha1
kind: Application # kind: Application
metadata: # metadata:
name: blog-helm # name: blog-helm
namespace: argocd # namespace: argocd
finalizers: # finalizers:
- resources-finalizer.argocd.argoproj.io # - resources-finalizer.argocd.argoproj.io
spec: # spec:
destination: # destination:
namespace: blog # namespace: blog
server: https://kubernetes.default.svc # server: https://kubernetes.default.svc
project: default # project: default
source: # source:
repoURL: registry-1.docker.io/bitnamicharts # repoURL: registry-1.docker.io/bitnamicharts
targetRevision: 22.2.4 # targetRevision: 22.2.4
chart: ghost # chart: ghost
helm: # helm:
values: | # values: |
image: # image:
debug: true # debug: true
ghostUsername: ruben # ghostUsername: ruben
## @param existingSecret Name of existing secret containing Ghost credentials # ## @param existingSecret Name of existing secret containing Ghost credentials
## NOTE: Must contain key `ghost-password` # ## NOTE: Must contain key `ghost-password`
## NOTE: When it's set, the `ghostPassword` parameter is ignored # ## NOTE: When it's set, the `ghostPassword` parameter is ignored
existingSecret: ghost-es # existingSecret: ghost-es
ghostEmail: ruben.hensen@protonmail.com # ghostEmail: ruben.hensen@protonmail.com
ghostBlogTitle: Catch && Compile # ghostBlogTitle: Catch && Compile
ghostHost: "blog.hensen.io" # ghostHost: "blog.hensen.io"
ghostPath: / # ghostPath: /
ghostEnableHttps: true # ghostEnableHttps: true
## SMTP mail delivery configuration # ## SMTP mail delivery configuration
## ref: https://github.com/bitnami/containers/tree/main/bitnami/ghost/#smtp-configuration # ## ref: https://github.com/bitnami/containers/tree/main/bitnami/ghost/#smtp-configuration
## @param smtpHost SMTP server host # ## @param smtpHost SMTP server host
## @param smtpPort SMTP server port # ## @param smtpPort SMTP server port
## @param smtpUser SMTP username # ## @param smtpUser SMTP username
## @param smtpPassword SMTP user password # ## @param smtpPassword SMTP user password
## @param smtpService SMTP service # ## @param smtpService SMTP service
## @param smtpProtocol SMTP protocol (ssl or tls) # ## @param smtpProtocol SMTP protocol (ssl or tls)
## # ##
smtpHost: smtp.hostinger.com # smtpHost: smtp.hostinger.com
smtpPort: 465 # smtpPort: 465
smtpUser: ruben@hensen.io # smtpUser: ruben@hensen.io
smtpPassword: "ignored-but-hast-to-exist-else-password-isnt-passed" # smtpPassword: "ignored-but-hast-to-exist-else-password-isnt-passed"
smtpProtocol: tls # smtpProtocol: tls
## @param smtpExistingSecret The name of an existing secret with SMTP credentials # ## @param smtpExistingSecret The name of an existing secret with SMTP credentials
## NOTE: Must contain key `smtp-password` # ## NOTE: Must contain key `smtp-password`
## NOTE: When it's set, the `smtpPassword` parameter is ignored # ## NOTE: When it's set, the `smtpPassword` parameter is ignored
## # ##
smtpExistingSecret: hensenio-smtp # ## @param extraEnvVars Array with extra environment variables to add to the Ghost container
## @param extraEnvVars Array with extra environment variables to add to the Ghost container # ## e.g:
## e.g: # ## extraEnvVars:
## extraEnvVars: # ## - name: FOO
## - name: FOO # ## value: "bar"
## value: "bar" # ##
## # # extraEnvVars:
# extraEnvVars: # # - name: mail__options__secure
# - name: mail__options__secure # # value: "false"
# value: "false" # ## @param allowEmptyPassword Allow the container to be started with blank passwords
## @param allowEmptyPassword Allow the container to be started with blank passwords # allowEmptyPassword: false
allowEmptyPassword: false # resourcesPreset: "micro"
resourcesPreset: "micro" # containerPorts:
containerPorts: # http: 2368
http: 2368 # https: 2368
https: 2368 # service:
service: # type: ClusterIP
type: ClusterIP # ports:
ports: # http: 80
http: 80 # https: 443
https: 443 # ingress:
ingress: # enabled: true
enabled: true # ingressClassName: nginx
ingressClassName: nginx # hostname: blog.hensen.io
hostname: blog.hensen.io # path: /
path: / # annotations:
annotations: # cert-manager.io/cluster-issuer: prod-cluster-issuer
cert-manager.io/cluster-issuer: prod-cluster-issuer # nginx.ingress.kubernetes.io/proxy-body-size: 1G
nginx.ingress.kubernetes.io/proxy-body-size: 1G # tls: true
tls: true # tlsWwwPrefix: false
tlsWwwPrefix: false # selfSigned: false
selfSigned: false # persistence:
persistence: # enabled: true
enabled: true # accessModes:
accessModes: # - ReadWriteOnce
- ReadWriteOnce # size: 8Gi
size: 8Gi # mysql:
mysql: # enabled: true
enabled: true # architecture: standalone
architecture: standalone # ## MySQL Authentication parameters
## MySQL Authentication parameters # ## @param mysql.auth.rootPassword MySQL root password
## @param mysql.auth.rootPassword MySQL root password # ## @param mysql.auth.database MySQL custom database
## @param mysql.auth.database MySQL custom database # ## @param mysql.auth.username MySQL custom user name
## @param mysql.auth.username MySQL custom user name # ## @param mysql.auth.password MySQL custom user password
## @param mysql.auth.password MySQL custom user password # ## @param mysql.auth.existingSecret Existing secret with MySQL credentials
## @param mysql.auth.existingSecret Existing secret with MySQL credentials # ## ref: https://github.com/bitnami/containers/tree/main/bitnami/mysql#setting-the-root-password-on-first-run
## ref: https://github.com/bitnami/containers/tree/main/bitnami/mysql#setting-the-root-password-on-first-run # ## https://github.com/bitnami/containers/tree/main/bitnami/mysql/#creating-a-database-on-first-run
## https://github.com/bitnami/containers/tree/main/bitnami/mysql/#creating-a-database-on-first-run # ## https://github.com/bitnami/containers/tree/main/bitnami/mysql/#creating-a-database-user-on-first-run
## https://github.com/bitnami/containers/tree/main/bitnami/mysql/#creating-a-database-user-on-first-run # auth:
auth: # database: bitnami_ghost
database: bitnami_ghost # username: bn_ghost
username: bn_ghost # existingSecret: ghost-es
existingSecret: ghost-es # primary:
primary: # ## MySQL Primary Persistence parameters
## MySQL Primary Persistence parameters # ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/ # ## @param mysql.primary.persistence.enabled Enable persistence on MySQL using PVC(s)
## @param mysql.primary.persistence.enabled Enable persistence on MySQL using PVC(s) # ## @param mysql.primary.persistence.storageClass Persistent Volume storage class
## @param mysql.primary.persistence.storageClass Persistent Volume storage class # ## @param mysql.primary.persistence.accessModes [array] Persistent Volume access modes
## @param mysql.primary.persistence.accessModes [array] Persistent Volume access modes # ## @param mysql.primary.persistence.size Persistent Volume size
## @param mysql.primary.persistence.size Persistent Volume size # ##
## # persistence:
persistence: # enabled: true
enabled: true # storageClass: ""
storageClass: "" # accessModes:
accessModes: # - ReadWriteOnce
- ReadWriteOnce # size: 8Gi
size: 8Gi # ## MySQL primary container's resource requests and limits
## MySQL primary container's resource requests and limits # ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ # ## We usually recommend not to specify default resources and to leave this as a conscious
## We usually recommend not to specify default resources and to leave this as a conscious # ## choice for the user. This also increases chances charts run on environments with little
## choice for the user. This also increases chances charts run on environments with little # ## resources, such as Minikube. If you do want to specify resources, uncomment the following
## resources, such as Minikube. If you do want to specify resources, uncomment the following # ## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
## lines, adjust them as necessary, and remove the curly braces after 'resources:'. # ## @param mysql.primary.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if primary.resources is set (primary.resources is recommended for production)
## @param mysql.primary.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if primary.resources is set (primary.resources is recommended for production) # resourcesPreset: "small"
resourcesPreset: "small"
syncPolicy: # syncPolicy:
syncOptions: # syncOptions:
- CreateNamespace=true # - CreateNamespace=true
automated: # automated:
selfHeal: true # selfHeal: true
+30 -30
View File
@@ -1,33 +1,33 @@
apiVersion: external-secrets.io/v1beta1 # apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret # kind: ExternalSecret
metadata: # metadata:
name: hensenio-ghost-secrets # name: hensenio-ghost-secrets
namespace: blog # namespace: blog
spec: # spec:
refreshInterval: "15m" # refreshInterval: "15m"
secretStoreRef: # secretStoreRef:
name: vault-backend # name: vault-backend
kind: ClusterSecretStore # kind: ClusterSecretStore
target: # target:
name: ghost-es # name: ghost-es
creationPolicy: Owner # creationPolicy: Owner
data: # data:
- secretKey: mysql-root-password # - secretKey: mysql-root-password
remoteRef: # remoteRef:
key: kv/ghost # key: kv/ghost
property: ghostmsqlrootpw # property: ghostmsqlrootpw
- secretKey: mysql-password # - secretKey: mysql-password
remoteRef: # remoteRef:
key: kv/ghost # key: kv/ghost
property: ghostmsqlpw # property: ghostmsqlpw
- secretKey: ghost-password # - secretKey: ghost-password
remoteRef: # remoteRef:
key: kv/ghost # key: kv/ghost
property: ghostpw # property: ghostpw
- secretKey: smtp-password # - secretKey: smtp-password
remoteRef: # remoteRef:
key: kv/hensenio/smtp # key: kv/hensenio/smtp
property: password # property: password