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
+126 -127
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:
# ## - name: FOO
# ## value: "bar"
# ##
# # extraEnvVars: # # extraEnvVars:
## - name: FOO # # - name: mail__options__secure
## value: "bar" # # value: "false"
## # ## @param allowEmptyPassword Allow the container to be started with blank passwords
# extraEnvVars: # allowEmptyPassword: false
# - name: mail__options__secure # resourcesPreset: "micro"
# value: "false" # containerPorts:
## @param allowEmptyPassword Allow the container to be started with blank passwords # http: 2368
allowEmptyPassword: false # https: 2368
resourcesPreset: "micro" # service:
containerPorts: # type: ClusterIP
http: 2368 # ports:
https: 2368 # http: 80
service: # https: 443
type: ClusterIP # ingress:
ports: # enabled: true
http: 80 # ingressClassName: nginx
https: 443 # hostname: blog.hensen.io
ingress: # path: /
enabled: true # annotations:
ingressClassName: nginx # cert-manager.io/cluster-issuer: prod-cluster-issuer
hostname: blog.hensen.io # nginx.ingress.kubernetes.io/proxy-body-size: 1G
path: / # tls: true
annotations: # tlsWwwPrefix: false
cert-manager.io/cluster-issuer: prod-cluster-issuer # selfSigned: false
nginx.ingress.kubernetes.io/proxy-body-size: 1G # persistence:
tls: true # enabled: true
tlsWwwPrefix: false # accessModes:
selfSigned: false # - ReadWriteOnce
persistence: # size: 8Gi
enabled: true # mysql:
accessModes: # enabled: true
- ReadWriteOnce # architecture: standalone
size: 8Gi # ## MySQL Authentication parameters
mysql: # ## @param mysql.auth.rootPassword MySQL root password
enabled: true # ## @param mysql.auth.database MySQL custom database
architecture: standalone # ## @param mysql.auth.username MySQL custom user name
## MySQL Authentication parameters # ## @param mysql.auth.password MySQL custom user password
## @param mysql.auth.rootPassword MySQL root password # ## @param mysql.auth.existingSecret Existing secret with MySQL credentials
## @param mysql.auth.database MySQL custom database # ## ref: https://github.com/bitnami/containers/tree/main/bitnami/mysql#setting-the-root-password-on-first-run
## @param mysql.auth.username MySQL custom user name # ## https://github.com/bitnami/containers/tree/main/bitnami/mysql/#creating-a-database-on-first-run
## @param mysql.auth.password MySQL custom user password # ## https://github.com/bitnami/containers/tree/main/bitnami/mysql/#creating-a-database-user-on-first-run
## @param mysql.auth.existingSecret Existing secret with MySQL credentials # auth:
## ref: https://github.com/bitnami/containers/tree/main/bitnami/mysql#setting-the-root-password-on-first-run # database: bitnami_ghost
## https://github.com/bitnami/containers/tree/main/bitnami/mysql/#creating-a-database-on-first-run # username: bn_ghost
## https://github.com/bitnami/containers/tree/main/bitnami/mysql/#creating-a-database-user-on-first-run # existingSecret: ghost-es
auth: # primary:
database: bitnami_ghost # ## MySQL Primary Persistence parameters
username: bn_ghost # ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
existingSecret: ghost-es # ## @param mysql.primary.persistence.enabled Enable persistence on MySQL using PVC(s)
primary: # ## @param mysql.primary.persistence.storageClass Persistent Volume storage class
## MySQL Primary Persistence parameters # ## @param mysql.primary.persistence.accessModes [array] Persistent Volume access modes
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/ # ## @param mysql.primary.persistence.size Persistent Volume size
## @param mysql.primary.persistence.enabled Enable persistence on MySQL using PVC(s) # ##
## @param mysql.primary.persistence.storageClass Persistent Volume storage class # persistence:
## @param mysql.primary.persistence.accessModes [array] Persistent Volume access modes # enabled: true
## @param mysql.primary.persistence.size Persistent Volume size # storageClass: ""
## # accessModes:
persistence: # - ReadWriteOnce
enabled: true # size: 8Gi
storageClass: "" # ## MySQL primary container's resource requests and limits
accessModes: # ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- ReadWriteOnce # ## We usually recommend not to specify default resources and to leave this as a conscious
size: 8Gi # ## choice for the user. This also increases chances charts run on environments with little
## MySQL primary container's resource requests and limits # ## resources, such as Minikube. If you do want to specify resources, uncomment the following
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ # ## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
## We usually recommend not to specify default resources and to leave this as a conscious # ## @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)
## choice for the user. This also increases chances charts run on environments with little # resourcesPreset: "small"
## 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:'.
## @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"
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