diff --git a/deploy-as-code/charts/common-chart-template/Chart.yaml b/deploy-as-code/charts/common-chart-template/Chart.yaml new file mode 100644 index 0000000000..3153b36625 --- /dev/null +++ b/deploy-as-code/charts/common-chart-template/Chart.yaml @@ -0,0 +1,26 @@ +apiVersion: v2 +name: +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. +appVersion: 1.16.0 + +dependencies: +- name: common + version: 0.0.5 + repository: file:// \ No newline at end of file diff --git a/deploy-as-code/charts/common-chart-template/templates/deployment.yaml b/deploy-as-code/charts/common-chart-template/templates/deployment.yaml new file mode 100644 index 0000000000..5c072a7e10 --- /dev/null +++ b/deploy-as-code/charts/common-chart-template/templates/deployment.yaml @@ -0,0 +1 @@ +{{- template "common.deployment" . -}} \ No newline at end of file diff --git a/deploy-as-code/charts/common-chart-template/templates/ingress.yaml b/deploy-as-code/charts/common-chart-template/templates/ingress.yaml new file mode 100644 index 0000000000..496a79827e --- /dev/null +++ b/deploy-as-code/charts/common-chart-template/templates/ingress.yaml @@ -0,0 +1 @@ +{{- template "common.ingress" . -}} \ No newline at end of file diff --git a/deploy-as-code/charts/common-chart-template/templates/service.yaml b/deploy-as-code/charts/common-chart-template/templates/service.yaml new file mode 100644 index 0000000000..0ab71406e1 --- /dev/null +++ b/deploy-as-code/charts/common-chart-template/templates/service.yaml @@ -0,0 +1 @@ +{{- template "common.service" . -}} \ No newline at end of file diff --git a/deploy-as-code/charts/common-chart-template/values.yaml b/deploy-as-code/charts/common-chart-template/values.yaml new file mode 100644 index 0000000000..f6fe818d53 --- /dev/null +++ b/deploy-as-code/charts/common-chart-template/values.yaml @@ -0,0 +1,34 @@ +# Common Labels +labels: + app: "" + group: "" + +# Ingress Configs +ingress: + enabled: true + zuul: true + context: "" + +# Init Containers Configs +initContainers: + dbMigration: + enabled: true + image: + repository: "" + tag: + +# Container Configs +image: + repository: "" + tag: +replicas: "1" +tracing-enabled: true +healthChecks: + enabled: true + livenessProbePath: "//health" + readinessProbePath: "//health" + +# Additional Container Envs +env: | + - name: + value: \ No newline at end of file