diff --git a/53ll/values.yaml b/53ll/values.yaml new file mode 100644 index 0000000..eb86062 --- /dev/null +++ b/53ll/values.yaml @@ -0,0 +1,42 @@ +image: + debug: true + +ghostBlogTitle: 53rd Parallel Photography +ghostHost: https://53ll.ca +ghostUsername: # set through cli args +existingSecret: ghost-53ll-user-secret + +allowEmptyPassword: false + + +readinessProbe: + enabled: false + +persistence: + size: 1Gi + +smtpHost: "smtp.sendgrid.net" +smtpPort: 465 +smtpUser: "apikey" +smtpService: "SendGrid" +smtpProtocol: "tls" +smtpExistingSecret: 53ll-smtp-password + +mysql: + enabled: false +externalDatabase: + host: mariadb.datastore.svc.cluster.local + user: 53ll_ghost + database: 53ll_ghost + existingSecret: ghost-53ll-db-secret + +updateStrategy: + type: Recreate + +ingress: + enabled: true + hostname: 53ll.ca + tls: true + annotations: + "traefik.ingress.kubernetes.io/router.tls.certresolver": "letsencrypt" + diff --git a/README.md b/README.md index 3c75a60..8183258 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,11 @@ grant all privileges on kgnot_ghost.* to kgnot_ghost@'10.%.%.%' identified by '$ kubectl create secret generic ghost-kgnot-user-secret --from-literal=ghost-password=$KGNOT_GHOST_USER_PASSWORD kubectl create secret generic ghost-kgnot-db-secret --from-literal=mysql-password=$KGNOT_MYSQL_PASSWORD kubectl create secret generic kgnot-smtp-password --from-literal=smtp-password=$KNGOT_SMTP_PASSWORD -helm install --create-namespace --namespace ghost kgnot-ghost oci://registry-1.docker.io/bitnamicharts/ghost --values kgnot/values.yaml +helm install --create-namespace \ + --namespace ghost \ + kgnot-ghost oci://registry-1.docker.io/bitnamicharts/ghost \ + --set ghostUsername=$KGNOT_GHOST_USER_NAME \ + --values kgnot/values.yaml ``` ### 53ll @@ -138,6 +142,10 @@ grant all privileges on 53ll_ghost.* to 53ll_ghost@'10.%.%.%' identified by '$GH kubectl create secret generic ghost-53ll-user-secret --from-literal=ghost-password=$GHOST_53LL_USER_PASSWORD kubectl create secret generic ghost-53ll-db-secret --from-literal=mysql-password=$GHOST_53LL_MYSQL_PASSWORD kubectl create secret generic 53ll-smtp-password --from-literal=smtp-password=$GHOST_53LL_SMTP_PASSWORD -helm install --create-namespace --namespace ghost 53ll-ghost oci://registry-1.docker.io/bitnamicharts/ghost --values 53ll/values.yaml +helm install --create-namespace \ + --namespace ghost \ + 53ll-ghost oci://registry-1.docker.io/bitnamicharts/ghost \ + --set ghostUsername=$GHOST_53LL_USER_NAME \ + --values 53ll/values.yaml ``` diff --git a/kgnot/values.yaml b/kgnot/values.yaml new file mode 100644 index 0000000..7166bde --- /dev/null +++ b/kgnot/values.yaml @@ -0,0 +1,41 @@ +image: + debug: true + +ghostBlogTitle: K&G Tie the Kgnot +ghostHost: https://kgnot.ca +ghostUsername: # set through cli args +existingSecret: ghost-kgnot-user-secret + +allowEmptyPassword: false + + +readinessProbe: + enabled: false + +persistence: + size: 1Gi + +smtpHost: "smtp.sendgrid.net" +smtpPort: 465 +smtpUser: "apikey" +smtpService: "SendGrid" +smtpProtocol: "tls" +smtpExistingSecret: kgnot-smtp-password + +mysql: + enabled: false +externalDatabase: + host: mariadb.datastore.svc.cluster.local + user: kgnot_ghost + database: kgnot_ghost + existingSecret: ghost-kgnot-db-secret + +updateStrategy: + type: Recreate + +ingress: + enabled: true + hostname: kgnot.ca + tls: true + annotations: + "traefik.ingress.kubernetes.io/router.tls.certresolver": "letsencrypt"