Skip to content

Commit

Permalink
chore: release-0.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony TREUILLIER <[email protected]>
  • Loading branch information
antrema committed Oct 31, 2024
1 parent 59d31eb commit 85d34c8
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 34 deletions.
4 changes: 2 additions & 2 deletions charts/powerdns-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: powerdns-operator
description: Manage PowerDNS resources with Kubernetes
type: application
version: 0.1.0
appVersion: 0.1.0
version: 0.2.0
appVersion: 0.2.0
kubeVersion: '>= 1.21.0-0'
keywords:
- powerdns-operator
Expand Down
6 changes: 3 additions & 3 deletions charts/powerdns-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[//]: # (README.md generated by gotmpl. DO NOT EDIT.)

![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)

Manage PowerDNS resources with Kubernetes

Expand Down Expand Up @@ -33,10 +33,10 @@ The command removes all the Kubernetes components associated with the chart and
| annotations | object | `{}` | Annotations to add to the controller deployment. |
| commonLabels | object | `{}` | |
| credentials.data.PDNS_API_KEY | string | `"secret"` | Specifies the PowerDNS API key used to authenticate |
| credentials.data.PDNS_API_URL | string | `"http://powerdns.powerdns.svc:8081"` | Specifies the PowerDNS API URL PDNS_API_URL: "https://powerdns.example.local:8081" |
| credentials.data.PDNS_API_URL | string | `"https://powerdns.example.local:8081"` | Specifies the PowerDNS API URL |
| credentials.data.PDNS_API_VHOST | string | `"localhost"` | Specifies the PowerDNS VHOST |
| credentials.existingSecret | string | `""` | Specifies whether to use an existing secret. |
| credentials.name | string | `""` | Specifies the secret name to create if `existingSecret` is empty. |
| credentials.name | string | `"powerdns-api-credentials"` | Specifies the secret name to create if `existingSecret` is empty. |
| dnsConfig | object | `{}` | Specifies `dnsOptions` to deployment |
| dnsPolicy | string | `"ClusterFirst"` | Specifies `dnsPolicy` to deployment |
| fullnameOverride | string | `""` | |
Expand Down
21 changes: 20 additions & 1 deletion charts/powerdns-operator/crds/dns.cav.enablers.ob_rrsets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,21 @@ spec:
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.zoneIdRef.name
- jsonPath: .spec.zoneRef.name
name: Zone
type: string
- jsonPath: .status.dnsEntryName
name: Name
type: string
- jsonPath: .spec.type
name: Type
type: string
- jsonPath: .spec.ttl
name: TTL
type: integer
- jsonPath: .status.syncStatus
name: Status
type: string
- jsonPath: .spec.records
name: Records
type: string
Expand Down Expand Up @@ -55,6 +61,12 @@ spec:
comment:
description: Comment on RRSet.
type: string
name:
description: Name of the record
type: string
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
records:
description: All records in this Resource Record Set.
items:
Expand All @@ -77,6 +89,7 @@ spec:
- name
type: object
required:
- name
- records
- ttl
- type
Expand All @@ -85,9 +98,15 @@ spec:
status:
description: RRsetStatus defines the observed state of RRset
properties:
dnsEntryName:
type: string
lastUpdateTime:
format: date-time
type: string
syncErrorDescription:
type: string
syncStatus:
type: string
type: object
type: object
served: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator
namespace: NAMESPACE
spec:
Expand All @@ -25,8 +25,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
spec:
containers:
- args:
Expand All @@ -38,7 +38,7 @@ should match snapshot of default values:
envFrom:
- secretRef:
name: powerdns-api-credentials
image: ghcr.io/orange-opensource/powerdns-operator:v0.1.0
image: ghcr.io/orange-opensource/powerdns-operator:v0.2.0
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator-metrics
namespace: NAMESPACE
spec:
Expand Down
32 changes: 16 additions & 16 deletions charts/powerdns-operator/tests/__snapshot__/rbac_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator-leader-election-role
namespace: NAMESPACE
rules:
Expand Down Expand Up @@ -51,8 +51,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator-manager-role
rules:
- apiGroups:
Expand Down Expand Up @@ -92,8 +92,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator-rrset-editor-role
rules:
- apiGroups:
Expand Down Expand Up @@ -122,8 +122,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rbac.authorization.k8s.io/aggregate-to-view: "true"
Expand Down Expand Up @@ -151,8 +151,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator-zone-editor-role
rules:
- apiGroups:
Expand Down Expand Up @@ -181,8 +181,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator-zone-viewer-role
rules:
- apiGroups:
Expand All @@ -207,8 +207,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator-leader-election-rolebinding
namespace: NAMESPACE
roleRef:
Expand All @@ -227,8 +227,8 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator-manager-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ should match snapshot of default values:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: powerdns-operator
app.kubernetes.io/version: 0.1.0
helm.sh/chart: powerdns-operator-0.1.0
app.kubernetes.io/version: 0.2.0
helm.sh/chart: powerdns-operator-0.2.0
name: RELEASE-NAME-powerdns-operator
namespace: NAMESPACE
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[//]: # (README.md generated by gotmpl. DO NOT EDIT.)

![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)

Manage PowerDNS resources with Kubernetes

Expand Down Expand Up @@ -33,10 +33,10 @@ The command removes all the Kubernetes components associated with the chart and
| annotations | object | `{}` | Annotations to add to the controller deployment. |
| commonLabels | object | `{}` | |
| credentials.data.PDNS_API_KEY | string | `"secret"` | Specifies the PowerDNS API key used to authenticate |
| credentials.data.PDNS_API_URL | string | `"http://powerdns.powerdns.svc:8081"` | Specifies the PowerDNS API URL PDNS_API_URL: "https://powerdns.example.local:8081" |
| credentials.data.PDNS_API_URL | string | `"https://powerdns.example.local:8081"` | Specifies the PowerDNS API URL |
| credentials.data.PDNS_API_VHOST | string | `"localhost"` | Specifies the PowerDNS VHOST |
| credentials.existingSecret | string | `""` | Specifies whether to use an existing secret. |
| credentials.name | string | `""` | Specifies the secret name to create if `existingSecret` is empty. |
| credentials.name | string | `"powerdns-api-credentials"` | Specifies the secret name to create if `existingSecret` is empty. |
| dnsConfig | object | `{}` | Specifies `dnsOptions` to deployment |
| dnsPolicy | string | `"ClusterFirst"` | Specifies `dnsPolicy` to deployment |
| fullnameOverride | string | `""` | |
Expand Down

0 comments on commit 85d34c8

Please sign in to comment.