mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Blog: add
This commit is contained in:
+105
-105
@@ -1,106 +1,106 @@
|
||||
# apiVersion: argoproj.io/v1alpha1
|
||||
# kind: Application
|
||||
# metadata:
|
||||
# name: blog-helm
|
||||
# namespace: argocd
|
||||
# finalizers:
|
||||
# - resources-finalizer.argocd.argoproj.io
|
||||
# spec:
|
||||
# destination:
|
||||
# namespace: blog
|
||||
# server: https://kubernetes.default.svc
|
||||
# project: default
|
||||
# source:
|
||||
# repoURL: registry-1.docker.io/bitnamicharts
|
||||
# targetRevision: 22.2.4
|
||||
# chart: ghost
|
||||
# helm:
|
||||
# values: |
|
||||
# image:
|
||||
# debug: true
|
||||
# ghostUsername: ruben
|
||||
# ## @param existingSecret Name of existing secret containing Ghost credentials
|
||||
# ## NOTE: Must contain key `ghost-password`
|
||||
# ## NOTE: When it's set, the `ghostPassword` parameter is ignored
|
||||
# existingSecret: ghost-es
|
||||
# ghostEmail: ruben.hensen@protonmail.com
|
||||
# ghostBlogTitle: Catch && Compile
|
||||
# ghostHost: "blog.hensen.io"
|
||||
# ghostPath: /
|
||||
# ghostEnableHttps: true
|
||||
# smtpHost: sandbox7739a6cdca37419aacc3e8d654af84ed.mailgun.org
|
||||
# smtpPort: 465
|
||||
# smtpUser: postmaster@sandbox7739a6cdca37419aacc3e8d654af84ed.mailgun.org
|
||||
# smtpPassword: "ignored-but-has-to-exist-else-password-isnt-passed"
|
||||
# smtpProtocol: tls
|
||||
# allowEmptyPassword: false
|
||||
# resourcesPreset: "micro"
|
||||
# containerPorts:
|
||||
# http: 2368
|
||||
# https: 2368
|
||||
# service:
|
||||
# type: ClusterIP
|
||||
# ports:
|
||||
# http: 80
|
||||
# https: 443
|
||||
# ingress:
|
||||
# enabled: true
|
||||
# ingressClassName: nginx
|
||||
# hostname: blog.hensen.io
|
||||
# path: /
|
||||
# annotations:
|
||||
# cert-manager.io/cluster-issuer: prod-cluster-issuer
|
||||
# nginx.ingress.kubernetes.io/proxy-body-size: 1G
|
||||
# tls: true
|
||||
# tlsWwwPrefix: false
|
||||
# selfSigned: false
|
||||
# extraHosts:
|
||||
# - name: blog.hensen.io
|
||||
# extraPaths: []
|
||||
# extraTls:
|
||||
# - secretName: letsencrypt-prod
|
||||
# hosts:
|
||||
# - blog.hensen.io
|
||||
# secrets: []
|
||||
# extraRules: []
|
||||
# persistence:
|
||||
# enabled: true
|
||||
# accessModes:
|
||||
# - ReadWriteOnce
|
||||
# size: 8Gi
|
||||
# mysql:
|
||||
# enabled: true
|
||||
# architecture: standalone
|
||||
# ## MySQL Authentication parameters
|
||||
# ## @param mysql.auth.rootPassword MySQL root password
|
||||
# ## @param mysql.auth.database MySQL custom database
|
||||
# ## @param mysql.auth.username MySQL custom user name
|
||||
# ## @param mysql.auth.password MySQL custom user password
|
||||
# ## @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
|
||||
# ## 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
|
||||
# auth:
|
||||
# database: bitnami_ghost
|
||||
# username: bn_ghost
|
||||
# existingSecret: ghost-es
|
||||
# primary:
|
||||
# ## MySQL Primary Persistence parameters
|
||||
# ## 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.storageClass Persistent Volume storage class
|
||||
# ## @param mysql.primary.persistence.accessModes [array] Persistent Volume access modes
|
||||
# ## @param mysql.primary.persistence.size Persistent Volume size
|
||||
# ##
|
||||
# persistence:
|
||||
# enabled: true
|
||||
# storageClass: ""
|
||||
# accessModes:
|
||||
# - ReadWriteOnce
|
||||
# size: 8Gi
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: blog-helm
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: blog
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
repoURL: registry-1.docker.io/bitnamicharts
|
||||
targetRevision: 22.2.4
|
||||
chart: ghost
|
||||
helm:
|
||||
values: |
|
||||
image:
|
||||
debug: true
|
||||
ghostUsername: ruben
|
||||
## @param existingSecret Name of existing secret containing Ghost credentials
|
||||
## NOTE: Must contain key `ghost-password`
|
||||
## NOTE: When it's set, the `ghostPassword` parameter is ignored
|
||||
existingSecret: ghost-es
|
||||
ghostEmail: ruben.hensen@protonmail.com
|
||||
ghostBlogTitle: Catch && Compile
|
||||
ghostHost: "blog.hensen.io"
|
||||
ghostPath: /
|
||||
ghostEnableHttps: true
|
||||
smtpHost: sandbox7739a6cdca37419aacc3e8d654af84ed.mailgun.org
|
||||
smtpPort: 465
|
||||
smtpUser: postmaster@sandbox7739a6cdca37419aacc3e8d654af84ed.mailgun.org
|
||||
smtpPassword: "ignored-but-has-to-exist-else-password-isnt-passed"
|
||||
smtpProtocol: tls
|
||||
allowEmptyPassword: false
|
||||
resourcesPreset: "micro"
|
||||
containerPorts:
|
||||
http: 2368
|
||||
https: 2368
|
||||
service:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
http: 80
|
||||
https: 443
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
hostname: blog.hensen.io
|
||||
path: /
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: prod-cluster-issuer
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 1G
|
||||
tls: true
|
||||
tlsWwwPrefix: false
|
||||
selfSigned: false
|
||||
extraHosts:
|
||||
- name: blog.hensen.io
|
||||
extraPaths: []
|
||||
extraTls:
|
||||
- secretName: letsencrypt-prod
|
||||
hosts:
|
||||
- blog.hensen.io
|
||||
secrets: []
|
||||
extraRules: []
|
||||
persistence:
|
||||
enabled: true
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: 8Gi
|
||||
mysql:
|
||||
enabled: true
|
||||
architecture: standalone
|
||||
## MySQL Authentication parameters
|
||||
## @param mysql.auth.rootPassword MySQL root password
|
||||
## @param mysql.auth.database MySQL custom database
|
||||
## @param mysql.auth.username MySQL custom user name
|
||||
## @param mysql.auth.password MySQL custom user password
|
||||
## @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
|
||||
## 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
|
||||
auth:
|
||||
database: bitnami_ghost
|
||||
username: bn_ghost
|
||||
existingSecret: ghost-es
|
||||
primary:
|
||||
## MySQL Primary Persistence parameters
|
||||
## 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.storageClass Persistent Volume storage class
|
||||
## @param mysql.primary.persistence.accessModes [array] Persistent Volume access modes
|
||||
## @param mysql.primary.persistence.size Persistent Volume size
|
||||
##
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: ""
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
# syncPolicy:
|
||||
# syncOptions:
|
||||
# - CreateNamespace=true
|
||||
# automated:
|
||||
# selfHeal: true
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
automated:
|
||||
selfHeal: true
|
||||
|
||||
Reference in New Issue
Block a user