Skip to content

Commit

Permalink
chore(domain-watch)!: Update common helm release to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jan 9, 2024
1 parent d7523f7 commit 06d6054
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 62 deletions.
6 changes: 3 additions & 3 deletions charts/domain-watch/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://bjw-s.github.io/helm-charts
version: 1.5.1
digest: sha256:3588c89621170f198d4938664d3ea4c469bd91fd78183c83cfcf63f474d348c4
generated: "2023-08-06T06:23:31.053086158Z"
version: 2.4.0
digest: sha256:dcf2f5bef73f1da784d5021045e34ff6a70ce7d4518efec6500c7d697ffdacea
generated: "2024-01-09T00:25:59.61141-06:00"
8 changes: 4 additions & 4 deletions charts/domain-watch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Tool to watch whois reports and notify when statuses change or expi
home: https://charts.gabe565.com/charts/domain-watch/
icon: https://raw.githubusercontent.com/gabe565/domain-watch/ee028db/assets/icon.svg
type: application
version: 0.5.3
version: 1.0.0
# renovate datasource=docker depName=ghcr.io/gabe565/domain-watch
appVersion: latest
kubeVersion: ">=1.22.0-0"
Expand All @@ -15,13 +15,13 @@ keywords:
dependencies:
- name: common
repository: https://bjw-s.github.io/helm-charts
version: 1.5.1
version: 2.4.0
sources:
- https://github.com/gabe565/domain-watch
annotations:
artifacthub.io/changes: |-
- kind: added
description: Add default ServiceMonitor values
- kind: changed
description: BREAKING - Update common helm release to v2
artifacthub.io/links: |-
- name: App Source
url: https://github.com/gabe565/domain-watch
Expand Down
32 changes: 16 additions & 16 deletions charts/domain-watch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<img src="https://raw.githubusercontent.com/gabe565/domain-watch/ee028db/assets/icon.svg" align="right" width="92" alt="domain-watch logo">

![Version: 0.5.3](https://img.shields.io/badge/Version-0.5.3-informational?style=flat)
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat)
![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat)

Expand All @@ -11,7 +11,7 @@ Tool to watch whois reports and notify when statuses change or expiration is inc
**Homepage:** <https://charts.gabe565.com/charts/domain-watch/>

**This chart is not maintained by the upstream project and any issues with the chart should be raised
[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=domain-watch&version=0.5.3)**
[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=domain-watch&version=1.0.0)**

## Source Code

Expand All @@ -25,7 +25,7 @@ Kubernetes: `>=1.22.0-0`

| Repository | Name | Version |
|------------|------|---------|
| <https://bjw-s.github.io/helm-charts> | common | 1.5.1 |
| <https://bjw-s.github.io/helm-charts> | common | 2.4.0 |

## Installing the Chart

Expand Down Expand Up @@ -58,7 +58,7 @@ The command removes all the Kubernetes components associated with the chart **in
## Configuration

Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/bjw-s/helm-charts/tree/a081de5/charts/library/common/values.yaml) from the [bjw-s common library](https://github.com/bjw-s/helm-charts/tree/a081de5/charts/library/common).
Other values may be used from the [values.yaml](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common/values.yaml) from the [bjw-s common library](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common).

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

Expand All @@ -80,21 +80,21 @@ N/A

## Values

**Important**: When deploying an application Helm chart you can add more values from the bjw-s common library chart [here](https://github.com/bjw-s/helm-charts/tree/a081de5/charts/library/common)
**Important**: When deploying an application Helm chart you can add more values from the bjw-s common library chart [here](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common)

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| controller.strategy | string | `"RollingUpdate"` | Set the controller upgrade strategy |
| env.WATCH_DOMAINS | string | `"example.com example.org"` | Whitespace-separated list of domains to watch. See [values.yaml](./values.yaml) for example. |
| env.WATCH_EVERY | string | `"6h"` | Domain check interval |
| env.WATCH_LOG_FORMAT | string | `"text"` | Log format. Valid options are text, json. |
| env.WATCH_LOG_LEVEL | string | `"info"` | Log level. Valid options are trace, debug, info, warn, error, fatal, panic. |
| env.WATCH_SLEEP | string | `"3s"` | Sleep interval between domain checks to avoid rate limits |
| env.WATCH_TELEGRAM_CHAT | string | `""` | Telegram chat ID |
| env.WATCH_TELEGRAM_TOKEN | string | `""` | Telegram token [[ref]](https://core.telegram.org/bots#6-botfather) |
| image.pullPolicy | string | `"Always"` | image pull policy |
| image.repository | string | `"ghcr.io/gabe565/domain-watch"` | image repository |
| image.tag | string | `"latest"` | image tag |
| controllers.main.containers.main.env.WATCH_DOMAINS | string | `"example.com example.org"` | Whitespace-separated list of domains to watch. See [values.yaml](./values.yaml) for example. |
| controllers.main.containers.main.env.WATCH_EVERY | string | `"6h"` | Domain check interval |
| controllers.main.containers.main.env.WATCH_LOG_FORMAT | string | `"text"` | Log format. Valid options are text, json. |
| controllers.main.containers.main.env.WATCH_LOG_LEVEL | string | `"info"` | Log level. Valid options are trace, debug, info, warn, error, fatal, panic. |
| controllers.main.containers.main.env.WATCH_SLEEP | string | `"3s"` | Sleep interval between domain checks to avoid rate limits |
| controllers.main.containers.main.env.WATCH_TELEGRAM_CHAT | string | `""` | Telegram chat ID |
| controllers.main.containers.main.env.WATCH_TELEGRAM_TOKEN | string | `""` | Telegram token [[ref]](https://core.telegram.org/bots#6-botfather) |
| controllers.main.containers.main.image.pullPolicy | string | `"Always"` | image pull policy |
| controllers.main.containers.main.image.repository | string | `"ghcr.io/gabe565/domain-watch"` | image repository |
| controllers.main.containers.main.image.tag | string | `"latest"` | image tag |
| controllers.main.strategy | string | `"RollingUpdate"` | Set the controller upgrade strategy |
| service | object | See [values.yaml](./values.yaml) | Configures service settings for the chart. |
| serviceMonitor.main.enabled | bool | `false` | Enables or disables the serviceMonitor. |
| serviceMonitor.main.endpoints | list | See [values.yaml](./values.yaml) | Configures the endpoints for the serviceMonitor. |
Expand Down
1 change: 0 additions & 1 deletion charts/domain-watch/templates/NOTES.txt

This file was deleted.

9 changes: 0 additions & 9 deletions charts/domain-watch/templates/common.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
{{/* Append the hardcoded settings */}}
{{- define "domain-watch.harcodedValues" -}}
service:
main:
enabled: false
{{- end -}}
{{- $_ := merge .Values (include "domain-watch.harcodedValues" . | fromYaml) -}}

{{/* Render the templates */}}
{{ include "bjw-s.common.loader.all" . }}
61 changes: 32 additions & 29 deletions charts/domain-watch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,44 @@
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/bjw-s/helm-charts/blob/a081de5/charts/library/common/values.yaml
# https://github.com/bjw-s/helm-charts/blob/main/charts/library/common/values.yaml
#

image:
# -- image repository
repository: ghcr.io/gabe565/domain-watch
# -- image pull policy
pullPolicy: Always
# -- image tag
tag: latest
controllers:
main:
containers:
main:
image:
# -- image repository
repository: ghcr.io/gabe565/domain-watch
# -- image pull policy
pullPolicy: Always
# -- image tag
tag: latest

controller:
# -- Set the controller upgrade strategy
strategy: RollingUpdate
env:
# -- Domain check interval
WATCH_EVERY: 6h
# -- Sleep interval between domain checks to avoid rate limits
WATCH_SLEEP: 3s
# -- Whitespace-separated list of domains to watch. See [values.yaml](./values.yaml) for example.
WATCH_DOMAINS: >-
example.com
example.org
env:
# -- Domain check interval
WATCH_EVERY: 6h
# -- Sleep interval between domain checks to avoid rate limits
WATCH_SLEEP: 3s
# -- Whitespace-separated list of domains to watch. See [values.yaml](./values.yaml) for example.
WATCH_DOMAINS: >-
example.com
example.org
# -- Telegram token
# [[ref]](https://core.telegram.org/bots#6-botfather)
WATCH_TELEGRAM_TOKEN: ""
# -- Telegram chat ID
WATCH_TELEGRAM_CHAT: ""

# -- Telegram token
# [[ref]](https://core.telegram.org/bots#6-botfather)
WATCH_TELEGRAM_TOKEN: ""
# -- Telegram chat ID
WATCH_TELEGRAM_CHAT: ""
# -- Log level. Valid options are trace, debug, info, warn, error, fatal, panic.
WATCH_LOG_LEVEL: info
# -- Log format. Valid options are text, json.
WATCH_LOG_FORMAT: text

# -- Log level. Valid options are trace, debug, info, warn, error, fatal, panic.
WATCH_LOG_LEVEL: info
# -- Log format. Valid options are text, json.
WATCH_LOG_FORMAT: text
# -- Set the controller upgrade strategy
strategy: RollingUpdate

# -- Configures service settings for the chart.
# @default -- See [values.yaml](./values.yaml)
Expand Down

0 comments on commit 06d6054

Please sign in to comment.