An open API service indexing awesome lists of open source software.

https://github.com/crystalnet-org/helm-powerdns

helm chart to deploy powerdns-authorative in k8s
https://github.com/crystalnet-org/helm-powerdns

Last synced: 2 months ago
JSON representation

helm chart to deploy powerdns-authorative in k8s

Awesome Lists containing this project

README

        

{{- define "chart.title" }}{{ .Name | replace "-" " " | title }}{{- end }}
{{- define "chart.icon" }}https://raw.githubusercontent.com/CrystalNET-org/helm-powerdns/main/chart/icon.png{{- end }}
{{- define "parameter.description" }}{{ regexReplaceAll "(https?://)([^/]+(?:/[^/]+)?)([^\\s]+)" (.Description | default .AutoDescription) "[$2]($1$2$3)" }}{{- end }}



Logo

{{ template "chart.title" . }} - {{ template "chart.description" . }}



[
![License](https://img.shields.io/github/license/CrystalNET-org/helm-powerdns?logo=git&logoColor=white&logoWidth=20)
](LICENSE)


{{ template "chart.typeBadge" . }}
{{ template "chart.versionBadge" . }}
{{ template "chart.appVersionBadge" . }}
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/CrystalNET)](https://artifacthub.io/packages/helm/crystalnet/powerdns)

---

## [{{ template "chart.title" . }}]({{ template "chart.homepage" . }})

> _Disclaimer: This application has been developed by the [{{ template "chart.title" . }}]({{ template "chart.homepage" . }}) community._

[> More about {{ template "chart.title" . }}]({{ template "chart.homepage" . }})

---

## TL;DR

Direct install via oci://:
```shell
helm install my-release oci://harbor.crystalnet.org/charts/{{ template "chart.name" . }}
```

install using chartMuseum:
```shell
helm repo add crystalnet https://charts.crystalnet.org
helm install my-release crystalnet/{{ template "chart.name" . }}
```

## Introduction

This chart bootstraps a {{ template "chart.title" . }} deployment on a [Kubernetes](kubernetes.io) cluster using the [Helm](helm.sh) package manager.

## Prerequisites

- Helm 3+
- loadbalancer support for DNS to work (a manually setup nginx udp-* and tcp-services configuration also works)

{{ template "chart.requirementsSection" . }}

## Installing the Chart

To install the chart with the release name `my-release`:

Direct install via oci://:
```shell
helm install my-release oci://harbor.crystalnet.org/charts/{{ template "chart.name" . }}
```

install using chartMuseum:
```shell
helm repo add crystalnet https://charts.crystalnet.org
helm install my-release crystalnet/{{ template "chart.name" . }}
```

These commands deploy {{ template "chart.name" . }} on the Kubernetes cluster in the default configuration.
The Parameters section lists the parameters that can be configured during installation.

> **Tip:** List all releases using `helm list`

## Uninstalling the Chart

To uninstall/delete the `my-release` deployment:

```shell
helm delete my-release
```

The command removes all the Kubernetes components associated with the chart and deletes the release.

## Parameters
{{- $params := list }}

### Global parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if hasPrefix "global." .Key }}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}

### Common parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "commonAnnotations" .Key)
(hasPrefix "commonLabels" .Key)
(hasPrefix "fullnameOverride" .Key)
(hasPrefix "nameOverride" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}

### {{ template "chart.title" . }} parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "image" .Key)
(and (hasPrefix "config" .Key) (not (hasPrefix "config.database" .Key)))
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}

### Security parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "podSecurityContext" .Key)
(hasPrefix "securityContext" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}

### Deployment/Statefulset parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "affinity" .Key)
(hasPrefix "container" .Key)
(hasPrefix "deployment" .Key)
(hasPrefix "nodeSelector" .Key)
(hasPrefix "pod" .Key)
(hasPrefix "priorityClassName" .Key)
(hasPrefix "provisioning" .Key)
(hasPrefix "replicaCount" .Key)
(hasPrefix "resources" .Key)
(hasPrefix "statefulset" .Key)
(hasPrefix "strategy" .Key)
(hasPrefix "tolerations" .Key)
(hasPrefix "topologySpreadConstraints" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}

### Network parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "service" .Key)
(hasPrefix "ingress" .Key)
(hasPrefix "networkPolicy" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}

### Persistence parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "persistence" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}

### Database parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "mariadb" .Key)
(hasPrefix "config.database" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}

### redis parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if and
(not (has .Key $params))
(or
(hasPrefix "redis" .Key)
)
}}
{{- $params = append $params .Key }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}

{{- if not (eq (len .Values) (len $params)) }}
### Other parameters

| Key | Description | Default |
|-----|-------------|---------|
{{- range .Values }}
{{- if not (has .Key $params) }}
| `{{ .Key }}` | {{ template "parameter.description" . }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} |
{{- end }}
{{- end }}
{{- end }}

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

```shell
helm install my-release --set fullnameOverride=my-{{ template "chart.name" . }} oci://harbor.crystalnet.org/charts/{{ template "chart.name" . }}
```

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

```shell
helm install my-release -f values.yaml oci://harbor.crystalnet.org/charts/{{ template "chart.name" . }}
```

> **Tip:** You can use the default values.yaml

## License

Licensed under the GNU General Public License v3.0 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

```
TBD
```

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License.

{{ template "helm-docs.versionFooter" . }}