From f8cebc091f9b3267d83dd297d388ae4267e740be Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:10:38 +0800 Subject: [PATCH 01/13] Minor edit to domain sample --- template/chartName/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/chartName/values.yaml b/template/chartName/values.yaml index 2267d4c4..0f5b1d93 100644 --- a/template/chartName/values.yaml +++ b/template/chartName/values.yaml @@ -54,7 +54,7 @@ chartName: bar: "" # The ingress domain name that hosts the ChartName server. # Example: - # domain: "chart_name.example.com" + # domain: "chartName.example.com" domain: "" # The value of the ChartName foo. # Default: "foo" From d66abc4066487d3b29ec6c06927f64c70ed3ae53 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:31:26 +0800 Subject: [PATCH 02/13] Add uptimekuma templates --- mika/uptimekuma/templates/NOTES.txt | 10 +++ mika/uptimekuma/templates/_helpers.tpl | 62 ++++++++++++++++ mika/uptimekuma/templates/deployment.yaml | 87 +++++++++++++++++++++++ mika/uptimekuma/templates/ingress.yaml | 39 ++++++++++ mika/uptimekuma/templates/pvc.yaml | 19 +++++ mika/uptimekuma/templates/service.yaml | 18 +++++ 6 files changed, 235 insertions(+) create mode 100644 mika/uptimekuma/templates/NOTES.txt create mode 100644 mika/uptimekuma/templates/_helpers.tpl create mode 100644 mika/uptimekuma/templates/deployment.yaml create mode 100644 mika/uptimekuma/templates/ingress.yaml create mode 100644 mika/uptimekuma/templates/pvc.yaml create mode 100644 mika/uptimekuma/templates/service.yaml diff --git a/mika/uptimekuma/templates/NOTES.txt b/mika/uptimekuma/templates/NOTES.txt new file mode 100644 index 00000000..fee93fa6 --- /dev/null +++ b/mika/uptimekuma/templates/NOTES.txt @@ -0,0 +1,10 @@ +{{- $foo := .Values.uptimekuma.foo | toString }} +{{- $bar := .Values.uptimekuma.bar | toString }} +Uptime Kuma is now installed and configured for {{ .Release.Name | toString }}. + +Shown below are some of the values that were configured for this release: + + Foo: {{ $foo }} + Bar: {{ $bar }} + +For more information on how to use and configure Uptime Kuma, please refer to the official documentation. diff --git a/mika/uptimekuma/templates/_helpers.tpl b/mika/uptimekuma/templates/_helpers.tpl new file mode 100644 index 00000000..e7644ce2 --- /dev/null +++ b/mika/uptimekuma/templates/_helpers.tpl @@ -0,0 +1,62 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "uptimekuma.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 "uptimekuma.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 }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "uptimekuma.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "uptimekuma.labels" -}} +helm.sh/chart: {{ include "uptimekuma.chart" . }} +{{ include "uptimekuma.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "uptimekuma.selectorLabels" -}} +app.kubernetes.io/name: {{ include "uptimekuma.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "uptimekuma.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "uptimekuma.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} diff --git a/mika/uptimekuma/templates/deployment.yaml b/mika/uptimekuma/templates/deployment.yaml new file mode 100644 index 00000000..6a789194 --- /dev/null +++ b/mika/uptimekuma/templates/deployment.yaml @@ -0,0 +1,87 @@ +{{- $dataPersistence := .Values.storage.data.enabled }} +{{- $uptimekuma_registry := .Values.image.uptimekuma.registry | default "docker.io" | toString }} +{{- $uptimekuma_repository := .Values.image.uptimekuma.repository | default "louislam/uptime-kuma" | toString }} +{{- $uptimekuma_tag := .Values.image.uptimekuma.tag | default .Chart.AppVersion | toString }} +{{- $uptimekuma_pullPolicy := .Values.image.uptimekuma.pullPolicy | default "IfNotPresent" | toString | quote }} +{{- $init_registry := .Values.image.init.registry | default "docker.io" | toString }} +{{- $init_repository := .Values.image.init.repository | default "busybox" | toString }} +{{- $init_tag := .Values.image.init.tag | default "1.36.1" | toString }} +{{- $init_pullPolicy := .Values.image.init.pullPolicy | default "IfNotPresent" | toString | quote }} +{{- $replica_count := .Values.replicaCount | default "1" | toString }} +{{- $dataMountPath := .Values.storage.data.mountPath | default "/app/data" | toString | quote }} +{{- $dataSubPath := .Values.storage.data.subPath | toString }} +{{- $initScript := .Values.uptimekuma.initScript | toString }} +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ .Release.Name }}-uptimekuma + labels: + {{- include "uptimekuma.labels" . | nindent 4 }} +spec: + replicas: {{ int $replica_count }} + selector: + matchLabels: + {{- include "uptimekuma.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "uptimekuma.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- if $initScript }} + initContainers: + - name: init + image: {{ printf "%s/%s:%s" $init_registry $init_repository $init_tag | quote }} + imagePullPolicy: {{ $init_pullPolicy }} + command: ["/bin/sh"] + args: + - -c + - >- + {{- $initScript | nindent 14 }} + {{- if or $dataPersistence }} + volumeMounts: + {{- if $dataPersistence }} + - name: {{ .Release.Name }}-uptimekuma-data + mountPath: {{ $dataMountPath }} + {{- if $dataSubPath }} + subPath: {{ $dataSubPath | quote }} + {{- end }} + {{- end }} + {{- end }} + {{- end }} + containers: + - name: uptimekuma + image: {{ printf "%s/%s:%s" $uptimekuma_registry $uptimekuma_repository $uptimekuma_tag | quote }} + imagePullPolicy: {{ $uptimekuma_pullPolicy }} + ports: + - name: uptimekuma + containerPort: 3001 + protocol: TCP + resources: + {{- toYaml .Values.resources.uptimekuma | nindent 12 }} + {{- if or $dataPersistence }} + volumeMounts: + {{- if $dataPersistence }} + - name: {{ .Release.Name }}-uptimekuma-data + mountPath: {{ $dataMountPath }} + {{- if $dataSubPath }} + subPath: {{ $dataSubPath | quote }} + {{- end }} + {{- end }} + {{- end }} + {{- if or $dataPersistence }} + volumes: + {{- if $dataPersistence }} + - name: {{ .Release.Name }}-uptimekuma-data + persistentVolumeClaim: + claimName: {{ .Release.Name }}-uptimekuma-data-pvc + {{- end }} + {{- end }} diff --git a/mika/uptimekuma/templates/ingress.yaml b/mika/uptimekuma/templates/ingress.yaml new file mode 100644 index 00000000..1d6f0597 --- /dev/null +++ b/mika/uptimekuma/templates/ingress.yaml @@ -0,0 +1,39 @@ +{{- $ingress := .Values.ingress.enabled }} +{{- $clusterIssuer := .Values.ingress.clusterIssuer | default "letsencrypt-dns-prod" | toString | quote }} +{{- $domain := .Values.uptimekuma.domain | toString }} +{{- if and $ingress $domain }} +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ .Release.Name }}-uptimekuma-ingress + labels: + {{- include "uptimekuma.labels" . | nindent 4 }} + annotations: + cert-manager.io/cluster-issuer: {{ $clusterIssuer }} + cert-manager.io/private-key-algorithm: "ECDSA" + nginx.ingress.kubernetes.io/affinity: "cookie" + nginx.ingress.kubernetes.io/affinity-mode: "persistent" + nginx.ingress.kubernetes.io/proxy-body-size: "100m" + nginx.ingress.kubernetes.io/session-cookie-expires: "172800" + nginx.ingress.kubernetes.io/session-cookie-max-age: "172800" + nginx.ingress.kubernetes.io/session-cookie-name: "route" + nginx.org/client-max-body-size: "100m" +spec: + ingressClassName: "nginx" + rules: + - host: {{ $domain | quote }} + http: + paths: + - backend: + service: + name: {{ .Release.Name }}-uptimekuma-svc + port: + name: uptimekuma + path: / + pathType: Prefix + tls: + - hosts: + - {{ $domain | quote }} + secretName: {{ .Release.Name }}-uptimekuma-tls-cert +{{- end }} diff --git a/mika/uptimekuma/templates/pvc.yaml b/mika/uptimekuma/templates/pvc.yaml new file mode 100644 index 00000000..036131a7 --- /dev/null +++ b/mika/uptimekuma/templates/pvc.yaml @@ -0,0 +1,19 @@ +{{- $dataPersistence := .Values.storage.data.enabled }} +{{- $dataStorage := .Values.storage.data.storage | default "1Gi" | toString | quote }} +{{- $dataStorageClassName := .Values.storage.data.storageClassName | default "longhorn" | toString | quote }} +{{- if $dataPersistence }} +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ .Release.Name }}-uptimekuma-data-pvc + labels: + {{- include "uptimekuma.labels" . | nindent 4 }} +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: {{ $dataStorage }} + storageClassName: {{ $dataStorageClassName }} +{{- end }} diff --git a/mika/uptimekuma/templates/service.yaml b/mika/uptimekuma/templates/service.yaml new file mode 100644 index 00000000..c571aed4 --- /dev/null +++ b/mika/uptimekuma/templates/service.yaml @@ -0,0 +1,18 @@ +{{- $port := .Values.service.port | default "3001" | toString }} +{{- $type := .Values.service.type | default "ClusterIP" | toString }} +--- +apiVersion: v1 +kind: Service +metadata: + name: {{ .Release.Name }}-uptimekuma-svc + labels: + {{- include "uptimekuma.labels" . | nindent 4 }} +spec: + type: {{ $type }} + ports: + - port: {{ int $port }} + targetPort: uptimekuma + protocol: TCP + name: uptimekuma + selector: + {{- include "uptimekuma.selectorLabels" . | nindent 4 }} From 64ff6c57ba6829004abddd43b3fc5dd52cb684ae Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:32:17 +0800 Subject: [PATCH 03/13] Add chart values --- mika/uptimekuma/values.yaml | 137 ++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 mika/uptimekuma/values.yaml diff --git a/mika/uptimekuma/values.yaml b/mika/uptimekuma/values.yaml new file mode 100644 index 00000000..03bfa7b2 --- /dev/null +++ b/mika/uptimekuma/values.yaml @@ -0,0 +1,137 @@ +# Default values for uptimekuma. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +# The desired number of running replicas for Uptime Kuma. +# Default: "1" +replicaCount: "" + +# Container images used for Uptime Kuma. +image: + # Uptime Kuma container image configurations. + # Source: https://hub.docker.com/r/louislam/uptime-kuma + uptimekuma: + # The registry where the Uptime Kuma container image is hosted. + # Default: "docker.io" + registry: "" + # The name of the repository that contains the Uptime Kuma container image used. + # Default: "louislam/uptime-kuma" + repository: "" + # The tag that specifies the version of the Uptime Kuma container image used. + # Default: Chart appVersion + tag: "" + # The policy that determines when Kubernetes should pull the Uptime Kuma container image. + # Default: "IfNotPresent" + pullPolicy: "" + # Init container image configurations. + # Source: https://hub.docker.com/_/busybox + init: + # The registry where the Init container image is hosted. + # Default: "docker.io" + registry: "" + # The name of the repository that contains the Init container image used. + # Default: "busybox" + repository: "" + # The tag that specifies the version of the Init container image used. + # Default: "1.36.1" + tag: "" + # The policy that determines when Kubernetes should pull the Init container image. + # Default: "IfNotPresent" + pullPolicy: "" + +# Credentials used to securely authenticate and authorise the pulling of container images from private registries. +# Example: +# imagePullSecrets: +# - name: "ghcr-token-secret" +imagePullSecrets: [] + +# Uptime Kuma configurations. +uptimekuma: + # The ingress domain name that hosts the Uptime Kuma server. + # Example: + # domain: "uptimekuma.example.com" + domain: "" + # Custom init script to run before the Uptime Kuma container starts. + # Example: + # initScript: >- + # echo "Hello, World!" + # echo "This is a custom init script." + initScript: "" + +# Ingress configurations. +ingress: + # Specifies whether Ingress should be enabled for hosting Uptime Kuma services. + # Example: + # enabled: true + enabled: false + # The name of the cluster issuer for Ingress. + # Default: "letsencrypt-dns-prod" + clusterIssuer: "" + +# Service configurations. +service: + # The port on which the Uptime Kuma server should listen. + # Default: "3001" + # Example: + # port: "3516" + port: "" + # The type of service used for Uptime Kuma services. + # Default: "ClusterIP" + # Example: + # type: "NodePort" + type: "" + +# Storage configurations. +storage: + # Data storage configurations. + data: + # Specifies whether persistent storage should be provisioned for data storage. + # Example: + # enabled: false + enabled: true + # The path where the data storage should be mounted on the container. + # Default: "/app/data" + # Example: + # mountPath: "/data" + mountPath: "" + # The subpath within the data storage to mount to the container. Leave empty if not required. + # Example: + # subPath: "Config" + subPath: "" + # The default amount of persistent storage allocated for the data storage. + # Default: "1Gi" + # Example: + # storage: "10Gi" + storage: "" + # The storage class name used for dynamically provisioning a persistent volume for the data storage. + # Default: "longhorn" + # Example: + # storageClassName: "longhorn" + storageClassName: "" + +# Resource requirements and limits for Uptime Kuma containers. +resources: + # Uptime Kuma container resources. + # Example: + # uptimekuma: + # # The minimum amount of resources required by Uptime Kuma to run. + # requests: + # # The minimum amount of CPU resources required by Uptime Kuma. + # # Example: + # # cpu: "10m" + # cpu: "50m" + # # The minimum amount of memory required by Uptime Kuma. + # # Example: + # # memory: "10Mi" + # memory: "150Mi" + # # The maximum amount of resources allowed for Uptime Kuma. + # limits: + # # The maximum amount of CPU resources allowed for Uptime Kuma. + # # Example: + # # cpu: "250m" + # cpu: "150m" + # # The maximum amount of memory allowed for Uptime Kuma. + # # Example: + # # memory: "250Mi" + # memory: "300Mi" + uptimekuma: {} From b684e11016562db2307cd421f68a28e415d15ee5 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:32:50 +0800 Subject: [PATCH 04/13] Add chart metadata --- mika/uptimekuma/Chart.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mika/uptimekuma/Chart.yaml diff --git a/mika/uptimekuma/Chart.yaml b/mika/uptimekuma/Chart.yaml new file mode 100644 index 00000000..ad4809e4 --- /dev/null +++ b/mika/uptimekuma/Chart.yaml @@ -0,0 +1,19 @@ +apiVersion: v2 +name: uptimekuma +description: Uptime Kuma is an easy-to-use self-hosted monitoring tool. +type: application +version: 0.1.0 +appVersion: "1.23.13-alpine" +keywords: + - "uptime" + - "kuma" + - "monitoring" +home: "https://github.com/irfanhakim-as/charts" +icon: "https://irfanhakim-as.github.io/charts/logos/uptimekuma.png" +sources: + - "https://github.com/louislam/uptime-kuma" + - "https://github.com/irfanhakim-as/charts" +maintainers: + - name: "Irfan Hakim" + email: "irfanhakim.as@yahoo.com" + url: "https://github.com/irfanhakim-as" From f9a6552e9862d13a2217b2ad5459205322a00020 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:33:00 +0800 Subject: [PATCH 05/13] Add ignore list --- mika/uptimekuma/.helmignore | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 mika/uptimekuma/.helmignore diff --git a/mika/uptimekuma/.helmignore b/mika/uptimekuma/.helmignore new file mode 100644 index 00000000..0e8a0eb3 --- /dev/null +++ b/mika/uptimekuma/.helmignore @@ -0,0 +1,23 @@ +# 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 +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ From 8e9f876c32c06a33e49e282409b29c6ad21c3447 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:33:09 +0800 Subject: [PATCH 06/13] Add chart documentation --- mika/uptimekuma/README.md | 151 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 mika/uptimekuma/README.md diff --git a/mika/uptimekuma/README.md b/mika/uptimekuma/README.md new file mode 100644 index 00000000..8354627d --- /dev/null +++ b/mika/uptimekuma/README.md @@ -0,0 +1,151 @@ +# [Uptime Kuma](https://github.com/louislam/uptime-kuma) + +Uptime Kuma is an easy-to-use self-hosted monitoring tool. + +## Prerequisites + +> [!NOTE] +> You may refer to [Orked](https://github.com/irfanhakim-as/orked) for help with setting up a Kubernetes cluster that meets all the following prerequisites. + +- Kubernetes 1.19+ +- Helm 3.2.0+ +- Longhorn 1.4.1+ + +--- + +## External dependencies + +> [!IMPORTANT] +> The following items are required to be set up prior to installing this chart. + +**This section does not apply to this chart.** + +--- + +## Recommended configurations + +> [!NOTE] +> The following configuration recommendations might not be the default settings for this chart but are **highly recommended**. Please carefully consider them before configuring your installation. + +**This section does not apply to this chart.** + +--- + +## Application configurations + +> [!NOTE] +> The following configurations are expected or recommended to be set up from within the application after completing the installation. + +**This section does not apply to this chart.** + +--- + +## How to add the chart repo + +1. Add the repo to your local helm client: + + ```sh + helm repo add mika https://irfanhakim-as.github.io/charts + ``` + +2. Update the repo to retrieve the latest versions of the packages: + + ```sh + helm repo update + ``` + +--- + +## How to install or upgrade a chart release + +1. Get the values file of the Uptime Kuma chart or an existing installation (release). + + Get the latest Uptime Kuma chart values file for a new installation: + + ```sh + helm show values mika/uptimekuma > values.yaml + ``` + + Alternatively, get the values file of an existing Uptime Kuma release: + + ```sh + helm get values ${releaseName} --namespace ${namespace} > values.yaml + ``` + + Replace `${releaseName}` and `${namespace}` accordingly. + +2. Edit your Uptime Kuma values file with the intended configurations: + + ```sh + nano values.yaml + ``` + + Pay extra attention to the descriptions and sample values provided in the chart values file. + +3. Install a new release for Uptime Kuma or upgrade an existing Uptime Kuma release: + + ```sh + helm upgrade --install ${releaseName} mika/uptimekuma --namespace ${namespace} --create-namespace --values values.yaml --wait + ``` + + Replace `${releaseName}` and `${namespace}` accordingly. + +4. Verify that your Uptime Kuma release has been installed: + + ```sh + helm ls --namespace ${namespace} | grep "${releaseName}" + ``` + + Replace `${namespace}` and `${releaseName}` accordingly. This should return the release information if the release has been installed. + +--- + +## How to uninstall a chart release + +> [!CAUTION] +> Uninstalling a release will irreversibly delete all the resources associated with the release, including any persistent data. + +1. Uninstall the desired release: + + ```sh + helm uninstall ${releaseName} --namespace ${namespace} --wait + ``` + + Replace `${releaseName}` and `${namespace}` accordingly. + +2. Verify that the release has been uninstalled: + + ```sh + helm ls --namespace ${namespace} | grep "${releaseName}" + ``` + + Replace `${namespace}` and `${releaseName}` accordingly. This should return nothing if the release has been uninstalled. + +--- + +## Chart configurations + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| image.init.pullPolicy | string | `""` | The policy that determines when Kubernetes should pull the Init container image. Default: `"IfNotPresent"`. | +| image.init.registry | string | `""` | The registry where the Init container image is hosted. Default: `"docker.io"`. | +| image.init.repository | string | `""` | The name of the repository that contains the Init container image used. Default: `"busybox"`. | +| image.init.tag | string | `""` | The tag that specifies the version of the Init container image used. Default: `"1.36.1"`. | +| image.uptimekuma.pullPolicy | string | `""` | The policy that determines when Kubernetes should pull the Uptime Kuma container image. Default: `"IfNotPresent"`. | +| image.uptimekuma.registry | string | `""` | The registry where the Uptime Kuma container image is hosted. Default: `"docker.io"`. | +| image.uptimekuma.repository | string | `""` | The name of the repository that contains the Uptime Kuma container image used. Default: `"louislam/uptime-kuma"`. | +| image.uptimekuma.tag | string | `""` | The tag that specifies the version of the Uptime Kuma container image used. Default: `Chart appVersion`. | +| imagePullSecrets | list | `[]` | Credentials used to securely authenticate and authorise the pulling of container images from private registries. | +| ingress.clusterIssuer | string | `""` | The name of the cluster issuer for Ingress. Default: `"letsencrypt-dns-prod"`. | +| ingress.enabled | bool | `false` | Specifies whether Ingress should be enabled for hosting Uptime Kuma services. | +| replicaCount | string | `""` | The desired number of running replicas for Uptime Kuma. Default: `"1"`. | +| resources.uptimekuma | object | `{}` | Resource requirements and limits for Uptime Kuma containers. | +| service.port | string | `""` | The port on which the Uptime Kuma server should listen. Default: `"3001"`. | +| service.type | string | `""` | The type of service used for Uptime Kuma services. Default: `"ClusterIP"`. | +| storage.data.enabled | bool | `true` | Specifies whether persistent storage should be provisioned for data storage. | +| storage.data.mountPath | string | `""` | The path where the data storage should be mounted on the container. Default: `"/app/data"`. | +| storage.data.storage | string | `""` | The default amount of persistent storage allocated for the data storage. Default: `"1Gi"`. | +| storage.data.storageClassName | string | `""` | The storage class name used for dynamically provisioning a persistent volume for the data storage. Default: `"longhorn"`. | +| storage.data.subPath | string | `""` | The subpath within the data storage to mount to the container. Leave empty if not required. | +| uptimekuma.domain | string | `""` | The ingress domain name that hosts the Uptime Kuma server. | +| uptimekuma.initScript | string | `""` | Custom init script to run before the Uptime Kuma container starts. | \ No newline at end of file From ff5f16cff5ce56dcfbdcb8c36d15b674cb1e57b6 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:36:58 +0800 Subject: [PATCH 07/13] Add uptimekuma logo --- logos/uptimekuma.png | Bin 0 -> 10820 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 logos/uptimekuma.png diff --git a/logos/uptimekuma.png b/logos/uptimekuma.png new file mode 100644 index 0000000000000000000000000000000000000000..d6127552d371b4ba7172478d77481d4ae0ae4172 GIT binary patch literal 10820 zcmb7qcTkf-_ipID3(|X$-UR^#l-{Iwq)Jr?2%;dqktRi?NH2m?rAzOjHv#D=Eul## zbONN@e7|qz&Ye4R|F}Doyl2mz=hXK_EyZ2y}yUL3Ti(ASn=N&j|!l$^?P#f^*wUR6roS=f(!+ znz(?2gM-u4)02~v^Yion8o2kfvooCM`1lxS;QToI^70br#}%CY-|~Oi|E>Nf;`9^_ zhvTp~<9|o~*FHQ!{5#%TM6Ayqt^Ph-96gvHIGE|(pX}P7*gZaI+8e3g9s0RDP`T4v zzSC2)+uyN2zIMFbx;NIjKe2keRku6Xwm;UqKRR?UH-7}1K3bkSS{gt6iz6I4oNwL# z)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Ki{j>{d7^#~?ou7OhoJ(mcAy)WKb*ZS*$kA5pX}i?!Q@dTRk+-x|6crWr(6F&f zq@PvqD|yAcgmH4aKQo&bY7Z}b1i$TR4NymaIFH`<=j|-bif%M~h#Ef&b^f}_8iF22 zrS~r}ADC~#{3|)C&h~Dur*;+}*41>d7(T4<+u6GeZn!!pj#H?UoSdIt zo!UhBR#yGEj4a=)9SE;Wt*m^dm?x1jWai-D;CRO1cSy8)4xPr%ZJ)fcm&lmeEvx9K zC;9)s;|2nip8${Rcu9rS59V-ifj~{`KsV>W=Sr>t&v6fsjFgO=xRkuOjI6nooRaK) zCAkNpQc_A%QuDJuxEq@P2jHcjo0t3B|2LpCc195gxc9$%2=sdS{8gayOYr}Vd7vaK X_uo#uqk8K9Gbmk6BaQ0EPT~Ix2Y`fO literal 0 HcmV?d00001 From 59e2c344363bb0cacbd7fa0f3f5b72af23e0c692 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:44:13 +0800 Subject: [PATCH 08/13] Update sample subpath values --- mika/uptimekuma/values.yaml | 2 +- template/chartName/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mika/uptimekuma/values.yaml b/mika/uptimekuma/values.yaml index 03bfa7b2..630c0748 100644 --- a/mika/uptimekuma/values.yaml +++ b/mika/uptimekuma/values.yaml @@ -96,7 +96,7 @@ storage: mountPath: "" # The subpath within the data storage to mount to the container. Leave empty if not required. # Example: - # subPath: "Config" + # subPath: "Data" subPath: "" # The default amount of persistent storage allocated for the data storage. # Default: "1Gi" diff --git a/template/chartName/values.yaml b/template/chartName/values.yaml index 0f5b1d93..f559a886 100644 --- a/template/chartName/values.yaml +++ b/template/chartName/values.yaml @@ -95,7 +95,7 @@ storage: mountPath: "" # The subpath within the data storage to mount to the container. Leave empty if not required. # Example: - # subPath: "Config" + # subPath: "Data" subPath: "" # The default amount of persistent storage allocated for the data storage. # Default: "1Gi" From a9266ba966fb6729a1dd8282a6a43a0f4a19e288 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:45:36 +0800 Subject: [PATCH 09/13] Update sample readme --- template/chartName/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/template/chartName/README.md b/template/chartName/README.md index 2e7f0d60..84c64356 100644 --- a/template/chartName/README.md +++ b/template/chartName/README.md @@ -19,7 +19,7 @@ A Helm chart for deploying ChartName. > [!IMPORTANT] > The following items are required to be set up prior to installing this chart. -1. TODO. +**This section does not apply to this chart.** --- @@ -28,7 +28,7 @@ A Helm chart for deploying ChartName. > [!NOTE] > The following configuration recommendations might not be the default settings for this chart but are **highly recommended**. Please carefully consider them before configuring your installation. -1. TODO. +**This section does not apply to this chart.** --- @@ -37,7 +37,7 @@ A Helm chart for deploying ChartName. > [!NOTE] > The following configurations are expected or recommended to be set up from within the application after completing the installation. -1. TODO. +**This section does not apply to this chart.** --- From 1aae83ea3a33a070d774b1efea51fd3213a21278 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:51:58 +0800 Subject: [PATCH 10/13] syncthing: Fix wrong chart note --- mika/syncthing/templates/NOTES.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mika/syncthing/templates/NOTES.txt b/mika/syncthing/templates/NOTES.txt index e933240d..20392fe4 100644 --- a/mika/syncthing/templates/NOTES.txt +++ b/mika/syncthing/templates/NOTES.txt @@ -1,10 +1,9 @@ {{- $ingress := .Values.ingress.enabled }} -{{- $syncthingIngress := .Values.syncthing.ingress }} -{{- $syncthingDomain := .Values.syncthing.domain | toString }} +{{- $domain := .Values.syncthing.domain | toString }} Syncthing is now installed and configured for {{ .Release.Name | toString }}. Visit the following service to get started: - Syncthing: {{ if and $ingress $syncthingIngress }}https://{{ $syncthingDomain }}{{- else }}Please refer to {{ .Release.Name }}-syncthing-svc for the right address{{- end }} + Syncthing: {{ if $ingress }}https://{{ $domain }}{{- else }}Please refer to {{ .Release.Name }}-syncthing-svc for the right address{{- end }} For more information on how to use and configure Syncthing, please refer to the official documentation. From 5357655d16bd30622bd75405f294862961f0e3b2 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:52:22 +0800 Subject: [PATCH 11/13] syncthing: Update sample domain --- mika/syncthing/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mika/syncthing/values.yaml b/mika/syncthing/values.yaml index 7fe7e2ce..fcda6ee9 100644 --- a/mika/syncthing/values.yaml +++ b/mika/syncthing/values.yaml @@ -34,7 +34,7 @@ imagePullSecrets: [] syncthing: # The ingress domain name that hosts the Syncthing server. # Example: - # domain: "chart_name.example.com" + # domain: "syncthing.example.com" domain: "" # The group ID used to run the Syncthing containers. # Default: "1000" From 8271d88fda991f38d59e509e2f7e3b4f4460fb47 Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:52:38 +0800 Subject: [PATCH 12/13] syncthing: Increase version number --- mika/syncthing/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mika/syncthing/Chart.yaml b/mika/syncthing/Chart.yaml index cf3defd1..02f8380e 100644 --- a/mika/syncthing/Chart.yaml +++ b/mika/syncthing/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: syncthing description: Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers. type: application -version: 0.1.0 +version: 0.1.1 appVersion: "v1.27.3-ls131" keywords: - "syncthing" From 10ad67c6d40dcf6973439ffa1a9c714386eea08d Mon Sep 17 00:00:00 2001 From: Irfan Hakim Date: Thu, 23 May 2024 15:55:02 +0800 Subject: [PATCH 13/13] Updated chart notes --- mika/uptimekuma/templates/NOTES.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mika/uptimekuma/templates/NOTES.txt b/mika/uptimekuma/templates/NOTES.txt index fee93fa6..398a6f0a 100644 --- a/mika/uptimekuma/templates/NOTES.txt +++ b/mika/uptimekuma/templates/NOTES.txt @@ -1,10 +1,9 @@ -{{- $foo := .Values.uptimekuma.foo | toString }} -{{- $bar := .Values.uptimekuma.bar | toString }} +{{- $ingress := .Values.ingress.enabled }} +{{- $domain := .Values.uptimekuma.domain | toString }} Uptime Kuma is now installed and configured for {{ .Release.Name | toString }}. -Shown below are some of the values that were configured for this release: +Visit the following service to get started: - Foo: {{ $foo }} - Bar: {{ $bar }} + Uptime Kuma: {{ if $ingress }}https://{{ $domain }}{{- else }}Please refer to {{ .Release.Name }}-uptimekuma-svc for the right address{{- end }} For more information on how to use and configure Uptime Kuma, please refer to the official documentation.