commit b448f4aef7d2d1a09a43ef0f91172a2d6568d21a Author: Julien Cabillot Date: Sun Feb 26 12:18:52 2023 -0500 feat: init diff --git a/charts/www/.helmignore b/charts/www/.helmignore new file mode 100644 index 0000000..4379e2b --- /dev/null +++ b/charts/www/.helmignore @@ -0,0 +1,26 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl diff --git a/charts/www/Chart.yaml b/charts/www/Chart.yaml new file mode 100644 index 0000000..6f48125 --- /dev/null +++ b/charts/www/Chart.yaml @@ -0,0 +1,26 @@ +apiVersion: v2 + +description: Helm chart for www.cabillot.eu +name: www +type: application +version: 0.1.14 +kubeVersion: ">=1.16.0-0" +keywords: +- sabnzbd +home: https://scm.docker.cabillot.eu/web/www-helm/ +icon: https://scm.docker.cabillot.eu/repo-avatars/81-d8eec884cb05430e8ccdc486841bb431 +maintainers: +- name: Julien Cabillot + email: dockerimages@cabillot.eu + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +#appVersion: "1.16.0" +appVersion: "latest" + +dependencies: +- name: common + repository: "https://scm.docker.cabillot.eu/perso/helm-library-common/raw/branch/master/" + version: 4.2.0 diff --git a/charts/www/README.md b/charts/www/README.md new file mode 100644 index 0000000..1d8c261 --- /dev/null +++ b/charts/www/README.md @@ -0,0 +1,2 @@ +# www-helm + diff --git a/charts/www/templates/NOTES.txt b/charts/www/templates/NOTES.txt new file mode 100644 index 0000000..90f7b65 --- /dev/null +++ b/charts/www/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/charts/www/templates/common.yaml b/charts/www/templates/common.yaml new file mode 100644 index 0000000..64e027a --- /dev/null +++ b/charts/www/templates/common.yaml @@ -0,0 +1,5 @@ +{{/* Make sure all variables are set properly */}} +{{- include "common.values.setup" . }} + +{{/* Render the templates */}} +{{ include "common.all" . }} diff --git a/charts/www/values.yaml b/charts/www/values.yaml new file mode 100644 index 0000000..dc57df2 --- /dev/null +++ b/charts/www/values.yaml @@ -0,0 +1,68 @@ +# +# IMPORTANT NOTE +# +# This chart inherits from our common library chart. You can check the default values/options here: +# https://scm.docker.cabillot.eu/perso/helm-library-common +# + +image: + repository: docker.io/jcabillot/phpapache + tag: "" + pullPolicy: Always + +env: + TZ: America/New_York + +service: + main: + ports: + http: + port: 8080 + +ingress: + main: + enabled: false +# Example +# hosts: +# - host: "yy.xx.zz" +# paths: +# - path: "/" +# tls: +# - secretName: "ip-tls" +# hosts: +# - "yy.xx.zz" + +persistence: + data: + enabled: true + mountPath: /var/www/html + +probes: + liveness: + enabled: true + custom: true + spec: + httpGet: + path: / + port: http + scheme: HTTP + timeoutSeconds: 1 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 3 + readiness: + enabled: true + custom: true + spec: + httpGet: + path: / + port: http + scheme: HTTP + timeoutSeconds: 1 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 3 + startup: + enabled: false + +automountServiceAccountToken: false