diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9a80403..e30f3cf 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -58,4 +58,23 @@ jobs: push: true tags: gitea.sheep-ghoul.ts.net/sarsoo/overflow:latest file: Dockerfile - context: . \ No newline at end of file + context: . + + publish: + runs-on: ubuntu-latest + name: Publish Charts + needs: [build] # for ignoring bad builds + if: gitea.event_name == 'push' && (gitea.ref == 'refs/heads/main' || startsWith(gitea.ref, 'refs/tags/')) + + steps: + - uses: actions/checkout@v4 + with: + github-server-url: https://gitea.sheep-ghoul.ts.net + + - uses: azure/setup-helm@v4.2.0 + + - name: Package Chart + run: helm package -u charts/overflow + + - name: Push Chart + run: curl --user ${{ secrets.DOCKERHUB_USERNAME }}:${{ secrets.DOCKERHUB_TOKEN }} -X POST --upload-file ./overflow-*.tgz https://gitea.sheep-ghoul.ts.net/api/packages/${{ secrets.DOCKERHUB_USERNAME }}/helm/api/charts \ No newline at end of file diff --git a/charts/.gitignore b/charts/.gitignore new file mode 100644 index 0000000..73142e3 --- /dev/null +++ b/charts/.gitignore @@ -0,0 +1,2 @@ +out +**/*.tgz \ No newline at end of file diff --git a/charts/overflow/Chart.lock b/charts/overflow/Chart.lock new file mode 100644 index 0000000..4789651 --- /dev/null +++ b/charts/overflow/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: mongodb + repository: https://charts.bitnami.com/bitnami + version: 15.6.26 +digest: sha256:c7ff3ac1a5c08f014044b75cf2d6f5ec07c20977a4d274140e1a73cdf00e9dbf +generated: "2024-10-01T19:33:06.568993+01:00" diff --git a/charts/overflow/Chart.yaml b/charts/overflow/Chart.yaml new file mode 100644 index 0000000..e8e6457 --- /dev/null +++ b/charts/overflow/Chart.yaml @@ -0,0 +1,35 @@ +apiVersion: v2 +name: overflow +description: Helm charts for the Overflow spill monitor +home: https://overflow.sarsoo.xyz + +# 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. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.0.1 + +# 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. +appVersion: 1.0.0 + +dependencies: + - name: mongodb + version: 15.6.26 + repository: https://charts.bitnami.com/bitnami + condition: mongodb.enabled + +maintainers: # (optional) + - name: Andy Pack + email: andy@sarsoo.xyz + url: https://sarsoo.xyz diff --git a/charts/overflow/charts/webapp/Chart.yaml b/charts/overflow/charts/webapp/Chart.yaml new file mode 100644 index 0000000..65e0036 --- /dev/null +++ b/charts/overflow/charts/webapp/Chart.yaml @@ -0,0 +1,23 @@ +apiVersion: v2 +name: webapp +description: A Helm chart for the Overflow Web App + +# 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. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.0.1 + +# 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. +appVersion: latest diff --git a/charts/overflow/charts/webapp/templates/_helpers.tpl b/charts/overflow/charts/webapp/templates/_helpers.tpl new file mode 100644 index 0000000..bffa883 --- /dev/null +++ b/charts/overflow/charts/webapp/templates/_helpers.tpl @@ -0,0 +1,111 @@ +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "webapp.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "webapp.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{/* +Allow the release namespace to be overridden for multi-namespace deployments in combined charts +*/}} +{{- define "webapp.namespace" -}} +{{- if .Values.namespaceOverride }} +{{- .Values.namespaceOverride }} +{{- else }} +{{- .Release.Namespace }} +{{- end }} +{{- end }} + +{{/* +Create the name of the service account +*/}} +{{- define "webapp.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "webapp.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "webapp.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "webapp.selectorLabels" -}} +app.kubernetes.io/name: {{ include "webapp.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "webapp.labels" -}} +helm.sh/chart: {{ include "webapp.chart" . }} +{{ include "webapp.selectorLabels" . }} +{{- if or .Chart.AppVersion .Values.image.tag }} +app.kubernetes.io/version: {{ mustRegexReplaceAllLiteral "@sha.*" .Values.image.tag "" | default .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- with .Values.extraLabels }} +{{ toYaml . }} +{{- end }} +{{- end }} + +{{/* +Return the appropriate apiVersion for ingress. +*/}} +{{- define "webapp.ingress.apiVersion" -}} +{{- if and ($.Capabilities.APIVersions.Has "networking.k8s.io/v1") (semverCompare ">= 1.19-0" .Capabilities.KubeVersion.Version) }} +{{- print "networking.k8s.io/v1" }} +{{- else if $.Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }} +{{- print "networking.k8s.io/v1beta1" }} +{{- else }} +{{- print "extensions/v1beta1" }} +{{- end }} +{{- end }} + +{{/* +Return if ingress is stable. +*/}} +{{- define "webapp.ingress.isStable" -}} +{{- eq (include "webapp.ingress.apiVersion" .) "networking.k8s.io/v1" }} +{{- end }} + +{{/* +Return if ingress supports ingressClassName. +*/}} +{{- define "webapp.ingress.supportsIngressClassName" -}} +{{- or (eq (include "webapp.ingress.isStable" .) "true") (and (eq (include "webapp.ingress.apiVersion" .) "networking.k8s.io/v1beta1") (semverCompare ">= 1.18-0" .Capabilities.KubeVersion.Version)) }} +{{- end }} + +{{/* +Return if ingress supports pathType. +*/}} +{{- define "webapp.ingress.supportsPathType" -}} +{{- or (eq (include "webapp.ingress.isStable" .) "true") (and (eq (include "webapp.ingress.apiVersion" .) "networking.k8s.io/v1beta1") (semverCompare ">= 1.18-0" .Capabilities.KubeVersion.Version)) }} +{{- end }} \ No newline at end of file diff --git a/charts/overflow/charts/webapp/templates/configmap.appsettings.yaml b/charts/overflow/charts/webapp/templates/configmap.appsettings.yaml new file mode 100644 index 0000000..37b2376 --- /dev/null +++ b/charts/overflow/charts/webapp/templates/configmap.appsettings.yaml @@ -0,0 +1,33 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: "{{ include "webapp.fullname" . }}-appsettings" + namespace: {{ include "webapp.namespace" . }} + labels: + {{- include "webapp.labels" . | nindent 4 }} + {{- with .Values.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +data: + appsettings.json: |- + { + "Logging": { + "LogLevel": { + "Default": "Trace", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information", + "Microsoft.AspNetCore.HttpLogging.HttpLoggingMiddleware": "Information" + } + }, + "ConnectionStrings": { + "Default": "{{ .Values.connectionString }}" + }, + "AllowedHosts": "*", + "SouthernWater": { + "Cron": "{{ .Values.jobs.southernWater }}" + }, + "Cache": { + "Cron": "{{ .Values.jobs.cacheReload }}" + } + } \ No newline at end of file diff --git a/charts/overflow/charts/webapp/templates/configmap.nlog.yaml b/charts/overflow/charts/webapp/templates/configmap.nlog.yaml new file mode 100644 index 0000000..ab0a1b3 --- /dev/null +++ b/charts/overflow/charts/webapp/templates/configmap.nlog.yaml @@ -0,0 +1,66 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "webapp.fullname" . }}-nlog + namespace: {{ include "webapp.namespace" . }} + labels: + {{- include "webapp.labels" . | nindent 4 }} + {{- with .Values.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +data: + nlog.config: |- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/charts/overflow/charts/webapp/templates/deployment.yaml b/charts/overflow/charts/webapp/templates/deployment.yaml new file mode 100644 index 0000000..ad9227e --- /dev/null +++ b/charts/overflow/charts/webapp/templates/deployment.yaml @@ -0,0 +1,111 @@ +{{- if (not .Values.useStatefulSet) }} +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "webapp.fullname" . }} + namespace: {{ include "webapp.namespace" . }} + labels: + {{- include "webapp.labels" . | nindent 4 }} + {{- with .Values.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- if and (not .Values.autoscaling.enabled) (.Values.replicas) }} + replicas: {{ .Values.replicas }} + {{- end }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} + selector: + matchLabels: + {{- include "webapp.selectorLabels" . | nindent 6 }} + {{- with .Values.deploymentStrategy }} + strategy: + {{- toYaml . | trim | nindent 4 }} + {{- end }} + template: + metadata: + labels: + {{- include "webapp.selectorLabels" . | nindent 8 }} + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} + annotations: + checksumNlog: {{ include (print $.Template.BasePath "/configmap.nlog.yaml") . | sha256sum }} + checksumAppsettings: {{ include (print $.Template.BasePath "/configmap.appsettings.yaml") . | sha256sum }} + + spec: + serviceAccountName: {{ include "webapp.serviceAccountName" . }} + {{- with .Values.securityContext }} + securityContext: + {{- toYaml . | nindent 8 }} + {{- end }} + + volumes: + - name: appsettings-volume + configMap: + name: {{ include "webapp.fullname" . }}-appsettings + - name: nlog-volume + configMap: + name: {{ include "webapp.fullname" . }}-nlog + + containers: + - name: {{ .Chart.Name }} + {{- $registry := .Values.global.imageRegistry | default .Values.image.registry -}} + {{- if .Values.image.sha }} + image: "{{ $registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}@sha256:{{ .Values.image.sha }}" + {{- else }} + image: "{{ $registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + {{- end }} + imagePullPolicy: {{ .Values.image.pullPolicy }} + {{- with .Values.containerSecurityContext }} + securityContext: + {{- toYaml . | nindent 12 }} + {{- end }} + ports: + - name: {{ .Values.podPortName }} + containerPort: {{ .Values.service.targetPort }} + protocol: TCP + {{- range $key, $value := .Values.env }} + - name: "{{ tpl $key $ }}" + value: "{{ tpl (print $value) $ }}" + {{- end }} + + volumeMounts: + - name: appsettings-volume + mountPath: /app/appsettings.json + subPath: appsettings.json + - name: nlog-volume + mountPath: /app/nlog.config + subPath: nlog.config + + # livenessProbe: + # exec: + # command: + # - touch + # - alive + # periodSeconds: 30 + readinessProbe: + httpGet: + path: /health + port: {{ .Values.service.targetPort }} + periodSeconds: 30 + {{- with .Values.resources }} + resources: + {{- toYaml . | nindent 6 }} + {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} +{{- end }} diff --git a/charts/overflow/charts/webapp/templates/ingress.yaml b/charts/overflow/charts/webapp/templates/ingress.yaml new file mode 100644 index 0000000..b63a83a --- /dev/null +++ b/charts/overflow/charts/webapp/templates/ingress.yaml @@ -0,0 +1,78 @@ +{{- if .Values.ingress.enabled -}} +{{- $ingressApiIsStable := eq (include "webapp.ingress.isStable" .) "true" -}} +{{- $ingressSupportsIngressClassName := eq (include "grafana.ingress.supportsIngressClassName" .) "true" -}} +{{- $ingressSupportsPathType := eq (include "webapp.ingress.supportsPathType" .) "true" -}} +{{- $fullName := include "webapp.fullname" . -}} +{{- $servicePort := .Values.service.port -}} +{{- $ingressPath := .Values.ingress.path -}} +{{- $ingressPathType := .Values.ingress.pathType -}} +{{- $extraPaths := .Values.ingress.extraPaths -}} +apiVersion: {{ include "webapp.ingress.apiVersion" . }} +kind: Ingress +metadata: + name: {{ $fullName }} + namespace: {{ include "webapp.namespace" . }} + labels: + {{- include "webapp.labels" . | nindent 4 }} + {{- with .Values.ingress.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.ingress.annotations }} + annotations: + {{- range $key, $value := . }} + {{ $key }}: {{ tpl $value $ | quote }} + {{- end }} + {{- end }} +spec: + {{- if and $ingressSupportsIngressClassName .Values.ingress.ingressClassName }} + ingressClassName: {{ .Values.ingress.ingressClassName }} + {{- end -}} + {{- with .Values.ingress.tls }} + tls: + {{- tpl (toYaml .) $ | nindent 4 }} + {{- end }} + rules: + {{- if .Values.ingress.hosts }} + {{- range .Values.ingress.hosts }} + - host: {{ tpl . $ | quote }} + http: + paths: + {{- with $extraPaths }} + {{- toYaml . | nindent 10 }} + {{- end }} + - path: {{ $ingressPath }} + {{- if $ingressSupportsPathType }} + pathType: {{ $ingressPathType }} + {{- end }} + backend: + {{- if $ingressApiIsStable }} + service: + name: {{ $fullName }} + port: + number: {{ $servicePort }} + {{- else }} + serviceName: {{ $fullName }} + servicePort: {{ $servicePort }} + {{- end }} + {{- end }} + {{- else }} + - http: + paths: + - backend: + {{- if $ingressApiIsStable }} + service: + name: {{ $fullName }} + port: + number: {{ $servicePort }} + {{- else }} + serviceName: {{ $fullName }} + servicePort: {{ $servicePort }} + {{- end }} + {{- with $ingressPath }} + path: {{ . }} + {{- end }} + {{- if $ingressSupportsPathType }} + pathType: {{ $ingressPathType }} + {{- end }} + {{- end -}} +{{ end }} diff --git a/charts/overflow/charts/webapp/templates/service.yaml b/charts/overflow/charts/webapp/templates/service.yaml new file mode 100644 index 0000000..6048f35 --- /dev/null +++ b/charts/overflow/charts/webapp/templates/service.yaml @@ -0,0 +1,61 @@ +{{- if .Values.service.enabled }} +{{- $root := . }} +apiVersion: v1 +kind: Service +metadata: + name: {{ include "webapp.fullname" . }} + namespace: {{ include "webapp.namespace" . }} + labels: + {{- include "webapp.labels" . | nindent 4 }} + {{- with .Values.service.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.service.annotations }} + annotations: + {{- tpl (toYaml . | nindent 4) $root }} + {{- end }} +spec: + {{- if (or (eq .Values.service.type "ClusterIP") (empty .Values.service.type)) }} + type: ClusterIP + {{- with .Values.service.clusterIP }} + clusterIP: {{ . }} + {{- end }} + {{- else if eq .Values.service.type "LoadBalancer" }} + type: LoadBalancer + {{- with .Values.service.loadBalancerIP }} + loadBalancerIP: {{ . }} + {{- end }} + {{- with .Values.service.loadBalancerClass }} + loadBalancerClass: {{ . }} + {{- end }} + {{- with .Values.service.loadBalancerSourceRanges }} + loadBalancerSourceRanges: + {{- toYaml . | nindent 4 }} + {{- end }} + {{- else }} + type: {{ .Values.service.type }} + {{- end }} + {{- with .Values.service.externalIPs }} + externalIPs: + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.service.externalTrafficPolicy }} + externalTrafficPolicy: {{ . }} + {{- end }} + ports: + - name: {{ .Values.service.portName }} + port: {{ .Values.service.port }} + protocol: TCP + targetPort: {{ .Values.service.targetPort }} + {{- with .Values.service.appProtocol }} + appProtocol: {{ . }} + {{- end }} + {{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }} + nodePort: {{ .Values.service.nodePort }} + {{- end }} + {{- with .Values.extraExposePorts }} + {{- tpl (toYaml . | nindent 4) $root }} + {{- end }} + selector: + {{- include "webapp.selectorLabels" . | nindent 4 }} +{{- end }} \ No newline at end of file diff --git a/charts/overflow/charts/webapp/templates/serviceaccount.yaml b/charts/overflow/charts/webapp/templates/serviceaccount.yaml new file mode 100644 index 0000000..2a353fb --- /dev/null +++ b/charts/overflow/charts/webapp/templates/serviceaccount.yaml @@ -0,0 +1,15 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "webapp.serviceAccountName" . }} + labels: + {{- include "webapp.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- tpl (toYaml . | nindent 4) $ }} + {{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/overflow/charts/webapp/values.yaml b/charts/overflow/charts/webapp/values.yaml new file mode 100644 index 0000000..4eca267 --- /dev/null +++ b/charts/overflow/charts/webapp/values.yaml @@ -0,0 +1,148 @@ +replicaCount: 1 + +global: + # -- Overrides the Docker registry globally for all images + imageRegistry: null + +image: + # -- The Docker registry + registry: docker.io + # -- Docker image repository + repository: sarsoo/overflow + # Overrides the Grafana image tag whose default is the chart appVersion + tag: "" + sha: "" + pullPolicy: Always + +nameOverride: "" +fullnameOverride: "" + +serviceAccount: + create: true + name: + nameTest: + ## ServiceAccount labels. + labels: {} + ## Service account annotations. Can be templated. + annotations: {} + +## Create HorizontalPodAutoscaler object for deployment type +# +autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 5 + targetCPU: "60" + targetMemory: "" + behavior: {} + +service: + enabled: true + type: ClusterIP + loadBalancerIP: "" + loadBalancerClass: "" + loadBalancerSourceRanges: [] + port: 80 + targetPort: 8080 + # targetPort: 4181 To be used with a proxy extraContainer + ## Service annotations. Can be templated. + annotations: {} + labels: {} + portName: service + # Adds the appProtocol field to the service. This allows to work with istio protocol selection. Ex: "http" or "tcp" + appProtocol: "" + +ingress: + enabled: false + # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName + # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress + # ingressClassName: nginx + # Values can be templated + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + labels: {} + path: / + + # pathType is only for k8s >= 1.1= + pathType: Prefix + + hosts: + - chart-example.local + ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services. + extraPaths: [] + # - path: /* + # backend: + # serviceName: ssl-redirect + # servicePort: use-annotation + ## Or for k8s > 1.19 + # - path: /* + # pathType: Prefix + # backend: + # service: + # name: ssl-redirect + # port: + # name: use-annotation + + + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +containerSecurityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + seccompProfile: + type: RuntimeDefault + +podPortName: webapp + +## Number of old ReplicaSets to retain +## +revisionHistoryLimit: 10 + +## Override the deployment namespace +## +namespaceOverride: "" + +# Apply extra labels to common labels. +extraLabels: {} + +env: {} + +resources: {} +# limits: +# cpu: 100m +# memory: 128Mi +# requests: +# cpu: 100m +# memory: 128Mi + +## Node labels for pod assignment +## ref: https://kubernetes.io/docs/user-guide/node-selection/ +# +nodeSelector: {} + +## Tolerations for pod assignment +## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ +## +tolerations: [] + +## Affinity for pod assignment (evaluated as template) +## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity +## +affinity: {} + +# securityContext: +# runAsNonRoot: true +# runAsUser: 472 +# runAsGroup: 472 +# fsGroup: 472 + +connectionString: "" +jobs: + southernWater: "0 26 20 */2 * ?" + cacheReload: "0 0 */3 * * ?" diff --git a/charts/overflow/values.yaml b/charts/overflow/values.yaml new file mode 100644 index 0000000..470eaaf --- /dev/null +++ b/charts/overflow/values.yaml @@ -0,0 +1,9 @@ + +mongodb: + enabled: false + +webapp: + connectionString: "" + jobs: + southernWater: "0 26 20 */2 * ?" + cacheReload: "0 0 */3 * * ?" \ No newline at end of file diff --git a/charts/template.sh b/charts/template.sh new file mode 100755 index 0000000..16afa10 --- /dev/null +++ b/charts/template.sh @@ -0,0 +1 @@ +helm template testrelease overflow --output-dir './out' --debug \ No newline at end of file