From 1a34d413f995698d3c33aa182b6444e7d6ca9f15 Mon Sep 17 00:00:00 2001 From: Victor Varza Date: Mon, 8 Apr 2024 09:48:06 +0300 Subject: [PATCH] add namespaceProfileInfraType field (#130) * add namespaceProfileInfraType field * update changelog :-) --------- Co-authored-by: Victor Varza --- CHANGELOG.md | 10 ++++++++++ VERSION | 2 +- charts/cluster-registry-client/Chart.yaml | 2 +- .../crd/bases/registry.ethos.adobe.com_clusters.yaml | 4 ++++ pkg/api/registry/v1/cluster_types.go | 3 +++ pkg/apiserver/docs/docs.go | 4 ++++ pkg/apiserver/docs/swagger.json | 4 ++++ pkg/apiserver/docs/swagger.yaml | 3 +++ 8 files changed, 30 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1daa9345..9cb63f40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 1.5.5 + +## cluster-registry-api + +- Add NamespaceProfileInfraType field (#130) + +## cluster-registry-client + +- Add NamespaceProfileInfraType field (#130) + # 1.5.4 ## cluster-registry-api diff --git a/VERSION b/VERSION index 94fe62c2..9075be49 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.4 +1.5.5 diff --git a/charts/cluster-registry-client/Chart.yaml b/charts/cluster-registry-client/Chart.yaml index 2edb2b31..8f380a0d 100644 --- a/charts/cluster-registry-client/Chart.yaml +++ b/charts/cluster-registry-client/Chart.yaml @@ -16,4 +16,4 @@ maintainers: email: caradu@adobe.com version: 0.2.3 -appVersion: v1.5.4 +appVersion: v1.5.5 diff --git a/config/crd/bases/registry.ethos.adobe.com_clusters.yaml b/config/crd/bases/registry.ethos.adobe.com_clusters.yaml index 6f349988..49470e38 100644 --- a/config/crd/bases/registry.ethos.adobe.com_clusters.yaml +++ b/config/crd/bases/registry.ethos.adobe.com_clusters.yaml @@ -1,3 +1,4 @@ + --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition @@ -157,6 +158,9 @@ spec: type: string type: object type: array + namespaceProfileInfraType: + description: Namespace Profile Infrastructure Type + type: string nfsInfo: description: NFS information items: diff --git a/pkg/api/registry/v1/cluster_types.go b/pkg/api/registry/v1/cluster_types.go index ab722e9c..3142fd51 100644 --- a/pkg/api/registry/v1/cluster_types.go +++ b/pkg/api/registry/v1/cluster_types.go @@ -193,6 +193,9 @@ type Extra struct { // OIDC Issuer URL OidcIssuer string `json:"oidcIssuer,omitempty"` + + // Namespace Profile Infrastructure Type + NamespaceProfileInfraType string `json:"namespaceProfileInfraType,omitempty"` } // Tier details diff --git a/pkg/apiserver/docs/docs.go b/pkg/apiserver/docs/docs.go index 2e7f7fbf..0b5f5510 100644 --- a/pkg/apiserver/docs/docs.go +++ b/pkg/apiserver/docs/docs.go @@ -700,6 +700,10 @@ const docTemplate = `{ } } }, + "namespaceProfileInfraType": { + "description": "Namespace Profile Infrastructure Type", + "type": "string" + }, "nfsInfo": { "description": "NFS information", "type": "array", diff --git a/pkg/apiserver/docs/swagger.json b/pkg/apiserver/docs/swagger.json index d6c5eebf..2e5d3e09 100644 --- a/pkg/apiserver/docs/swagger.json +++ b/pkg/apiserver/docs/swagger.json @@ -698,6 +698,10 @@ } } }, + "namespaceProfileInfraType": { + "description": "Namespace Profile Infrastructure Type", + "type": "string" + }, "nfsInfo": { "description": "NFS information", "type": "array", diff --git a/pkg/apiserver/docs/swagger.yaml b/pkg/apiserver/docs/swagger.yaml index 0a8245ba..6c114a0d 100644 --- a/pkg/apiserver/docs/swagger.yaml +++ b/pkg/apiserver/docs/swagger.yaml @@ -241,6 +241,9 @@ definitions: type: string type: object type: array + namespaceProfileInfraType: + description: Profile Infrastructure Type + type: string nfsInfo: description: NFS information items: