Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release-0.2.0 #2

Merged
merged 3 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/helm-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- release-*
pull_request: {}

workflow_dispatch: {}

Expand Down
6 changes: 3 additions & 3 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 Expand Up @@ -33,4 +33,4 @@ annotations:
description: |
An RRset is a collection of records that share the same name and type.
RRsets can be used to represent a collection of records that are managed
together.
together.
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
2 changes: 1 addition & 1 deletion charts/powerdns-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ global:
# disabled - No modification applied.
adaptSecurityContext: auto

replicaCount: 1 # we do not support more than 1 replica
replicaCount: 1 # we do not support more than 1 replica

commonLabels: {}

Expand Down
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