add blog folder and es

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