From 49248e80f8766125c7425127d1b1a59fc2240d6e Mon Sep 17 00:00:00 2001 From: craig Date: Thu, 22 Aug 2024 09:29:00 +0100 Subject: [PATCH] prepare-release: release-0.5 Signed-off-by: craig --- .../dns-operator.clusterserviceversion.yaml | 6 ++--- charts/dns-operator/Chart.yaml | 2 +- charts/dns-operator/templates/manifests.yaml | 2 +- config/manager/kustomization.yaml | 2 +- .../dns-operator.clusterserviceversion.yaml | 4 ++-- dnspolicy.yaml | 20 ++++++++++++++++ make/release.mk | 2 +- route.yaml | 24 +++++++++++++++++++ 8 files changed, 53 insertions(+), 9 deletions(-) create mode 100644 dnspolicy.yaml create mode 100644 route.yaml diff --git a/bundle/manifests/dns-operator.clusterserviceversion.yaml b/bundle/manifests/dns-operator.clusterserviceversion.yaml index 86e72417..543c23b3 100644 --- a/bundle/manifests/dns-operator.clusterserviceversion.yaml +++ b/bundle/manifests/dns-operator.clusterserviceversion.yaml @@ -38,13 +38,13 @@ metadata: capabilities: Basic Install categories: Integration & Delivery containerImage: quay.io/kuadrant/dns-operator:release-0.5 - createdAt: "2024-08-21T07:10:21Z" + createdAt: "2024-08-22T08:28:43Z" description: A Kubernetes Operator to manage the lifecycle of DNS resources operators.operatorframework.io/builder: operator-sdk-v1.33.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 repository: https://github.com/kuadrant/dns-operator support: kuadrant - name: dns-operator.v0.5.0-dev + name: dns-operator.v0.5.0-rc1 namespace: placeholder spec: apiservicedefinitions: {} @@ -225,4 +225,4 @@ spec: provider: name: Red Hat replaces: dns-operator.v0.4.1 - version: 0.5.0-dev + version: 0.5.0-rc1 diff --git a/charts/dns-operator/Chart.yaml b/charts/dns-operator/Chart.yaml index cc3055b3..13462763 100644 --- a/charts/dns-operator/Chart.yaml +++ b/charts/dns-operator/Chart.yaml @@ -12,7 +12,7 @@ sources: kubeVersion: ">=1.19.0-0" type: application # The version will be properly set when the chart is released matching the operator version -version: "0.5.0-dev" +version: "0.5.0-rc1" maintainers: - email: mnairn@redhat.com name: Michael Nairn diff --git a/charts/dns-operator/templates/manifests.yaml b/charts/dns-operator/templates/manifests.yaml index 85c1ccad..d6c6e630 100644 --- a/charts/dns-operator/templates/manifests.yaml +++ b/charts/dns-operator/templates/manifests.yaml @@ -701,7 +701,7 @@ spec: env: - name: WATCH_NAMESPACES value: "" - image: quay.io/kuadrant/dns-operator:v0.5.0-dev + image: quay.io/kuadrant/dns-operator:v0.5.0-rc1 livenessProbe: httpGet: path: /healthz diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index ee0524f0..ecba9d12 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -7,4 +7,4 @@ kind: Kustomization images: - name: controller newName: quay.io/kuadrant/dns-operator - newTag: v0.5.0-dev + newTag: v0.5.0-rc1 diff --git a/config/manifests/bases/dns-operator.clusterserviceversion.yaml b/config/manifests/bases/dns-operator.clusterserviceversion.yaml index 3092b530..7c1e3f64 100644 --- a/config/manifests/bases/dns-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/dns-operator.clusterserviceversion.yaml @@ -9,7 +9,7 @@ metadata: description: A Kubernetes Operator to manage the lifecycle of DNS resources repository: https://github.com/kuadrant/dns-operator support: kuadrant - name: dns-operator.v0.5.0-dev + name: dns-operator.v0.5.0-rc1 namespace: placeholder spec: apiservicedefinitions: {} @@ -56,4 +56,4 @@ spec: provider: name: Red Hat replaces: dns-operator.v0.4.1 - version: 0.5.0-dev + version: 0.5.0-rc1 diff --git a/dnspolicy.yaml b/dnspolicy.yaml new file mode 100644 index 00000000..9e13b1ee --- /dev/null +++ b/dnspolicy.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +items: +- apiVersion: kuadrant.io/v1alpha1 + kind: DNSPolicy + metadata: + name: external-dnspolicy + namespace: demo + spec: + loadBalancing: + geo: + defaultGeo: US + weighted: + defaultWeight: 120 + providerRefs: + - name: aws-credentials + routingStrategy: loadbalanced + targetRef: + group: gateway.networking.k8s.io + kind: Gateway + name: external \ No newline at end of file diff --git a/make/release.mk b/make/release.mk index a7862499..c9346807 100644 --- a/make/release.mk +++ b/make/release.mk @@ -4,5 +4,5 @@ BUNDLE_IMG=quay.io/kuadrant/dns-operator-bundle:release-0.5 CATALOG_IMG=quay.io/kuadrant/dns-operator-catalog:release-0.5 CHANNELS=alpha BUNDLE_CHANNELS=--channels=alpha -VERSION=0.5.0-dev +VERSION=0.5.0-rc1 REPLACES_VERSION=0.4.1 diff --git a/route.yaml b/route.yaml new file mode 100644 index 00000000..774d1f4f --- /dev/null +++ b/route.yaml @@ -0,0 +1,24 @@ +apiVersion: gateway.networking.k8s.io/v1 +kind: HTTPRoute +metadata: + name: test + namespace: demo +spec: + hostnames: + - private.hcpapps.net + parentRefs: + - group: gateway.networking.k8s.io + kind: Gateway + name: external + namespace: demo + rules: + - backendRefs: + - group: "" + kind: Service + name: toystore + port: 80 + weight: 1 + matches: + - path: + type: PathPrefix + value: /