From dc9490b7dffaa39c286cb687b1896c3c8da53636 Mon Sep 17 00:00:00 2001 From: Alexandre Vilain Date: Sat, 18 Nov 2023 13:28:04 +0100 Subject: [PATCH] Prepare release v0.16.0 --- Makefile | 2 +- VERSION | 2 +- ...mporal-operator.clusterserviceversion.yaml | 10 +- .../temporal.io_temporalclusters.yaml | 134 ++++++++++++------ config/manager/kustomization.yaml | 2 +- ...mporal-operator.clusterserviceversion.yaml | 2 +- 6 files changed, 101 insertions(+), 51 deletions(-) diff --git a/Makefile b/Makefile index 842f9761..81753c26 100644 --- a/Makefile +++ b/Makefile @@ -179,7 +179,7 @@ bundle: manifests kustomize operator-sdk ## Generate bundle manifests and metada prepare-release: kustomize $(eval OLD_VERSION := $(shell curl -s https://api.github.com/repos/alexandrevilain/temporal-operator/releases | jq -r '.[0].tag_name')) cd config/manager && $(KUSTOMIZE) edit set image ghcr.io/alexandrevilain/temporal-operator:v$(VERSION) - sed -i 's/replaces: temporal-operator.v.*/replaces: temporal-operator.$(OLD_VERSION)/' config/manifests/bases/temporal-operator.clusterserviceversion.yaml + sed -i'' -e 's/replaces: temporal-operator.v.*/replaces: temporal-operator.$(OLD_VERSION)/' config/manifests/bases/temporal-operator.clusterserviceversion.yaml $(MAKE) bundle OPERATOR_HUB_FORK_REPOSITORY ?= git@github.com:alexandrevilain/community-operators.git diff --git a/VERSION b/VERSION index 9f40a878..d183d4ac 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.15.4 \ No newline at end of file +0.16.0 \ No newline at end of file diff --git a/bundle/manifests/temporal-operator.clusterserviceversion.yaml b/bundle/manifests/temporal-operator.clusterserviceversion.yaml index 016461ff..0bba0530 100644 --- a/bundle/manifests/temporal-operator.clusterserviceversion.yaml +++ b/bundle/manifests/temporal-operator.clusterserviceversion.yaml @@ -119,10 +119,10 @@ metadata: capabilities: Seamless Upgrades categories: Application Runtime, Developer Tools, AI/Machine Learning containerImage: ghcr.io/alexandrevilain/temporal-operator - createdAt: "2023-10-21T18:00:22Z" + createdAt: "2023-11-18T12:27:42Z" operators.operatorframework.io/builder: operator-sdk-v1.30.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 - name: temporal-operator.v0.15.4 + name: temporal-operator.v0.16.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -471,7 +471,7 @@ spec: - --leader-elect command: - /manager - image: ghcr.io/alexandrevilain/temporal-operator:v0.15.4 + image: ghcr.io/alexandrevilain/temporal-operator:v0.16.0 livenessProbe: httpGet: path: /healthz @@ -575,8 +575,8 @@ spec: provider: name: Temporal Community url: https://temporal.io/ - replaces: temporal-operator.v0.15.3 - version: 0.15.4 + replaces: temporal-operator.v0.15.4 + version: 0.16.0 webhookdefinitions: - admissionReviewVersions: - v1 diff --git a/bundle/manifests/temporal.io_temporalclusters.yaml b/bundle/manifests/temporal.io_temporalclusters.yaml index 13390c7a..78bf9d92 100644 --- a/bundle/manifests/temporal.io_temporalclusters.yaml +++ b/bundle/manifests/temporal.io_temporalclusters.yaml @@ -364,6 +364,46 @@ spec: - paused type: object type: object + authorization: + description: Authorization allows authorization configuration for + the temporal cluster. + properties: + authorizer: + description: Authorizer defines the authorization mechanism to + be used. It can be left as an empty string to use a no-operation + authorizer (noopAuthorizer), or set to "default" to use the + temporal's default authorizer (defaultAuthorizer). + type: string + claimMapper: + description: ClaimMapper specifies the claim mapping mechanism + used for handling JWT claims. Similar to the Authorizer, it + can be left as an empty string to use a no-operation claim mapper + (noopClaimMapper), or set to "default" to use the default JWT + claim mapper (defaultJWTClaimMapper). + type: string + jwtKeyProvider: + description: JWTKeyProvider specifies the signing key provider + used for validating JWT tokens. + properties: + keySourceURIs: + description: KeySourceURIs is a list of URIs where the JWT + signing keys can be obtained. These URIs are used by the + authorization system to fetch the public keys necessary + for validating JWT tokens. + items: + type: string + type: array + refreshInterval: + description: RefreshInterval defines the time interval at + which temporal should refresh the JWT signing keys from + the specified URIs. + type: string + type: object + permissionsClaimName: + description: PermissionsClaimName is the name of the claim within + the JWT token that contains the user's permissions. + type: string + type: object dynamicConfig: description: DynamicConfig allows advanced configuration for the temporal cluster. @@ -1575,7 +1615,6 @@ spec: by gocql client. type: string required: - - datacenter - hosts - keyspace - port @@ -1845,7 +1884,6 @@ spec: by gocql client. type: string required: - - datacenter - hosts - keyspace - port @@ -2116,7 +2154,6 @@ spec: by gocql client. type: string required: - - datacenter - hosts - keyspace - port @@ -2386,7 +2423,6 @@ spec: by gocql client. type: string required: - - datacenter - hosts - keyspace - port @@ -2598,11 +2634,15 @@ spec: frontend: description: Frontend service custom specifications. properties: + httpPort: + description: 'HTTPPort defines a custom http port for the + service. Default values are: 7243 for Frontend service' + type: integer membershipPort: - description: 'Port defines a custom membership port for the - service. Default values are: 6933 for Frontend service 6934 - for History service 6935 for Matching service 6939 for Worker - service' + description: 'MembershipPort defines a custom membership port + for the service. Default values are: 6933 for Frontend service + 6934 for History service 6935 for Matching service 6939 + for Worker service' type: integer overrides: description: Overrides adds some overrides to the resources @@ -2738,11 +2778,15 @@ spec: history: description: History service custom specifications. properties: + httpPort: + description: 'HTTPPort defines a custom http port for the + service. Default values are: 7243 for Frontend service' + type: integer membershipPort: - description: 'Port defines a custom membership port for the - service. Default values are: 6933 for Frontend service 6934 - for History service 6935 for Matching service 6939 for Worker - service' + description: 'MembershipPort defines a custom membership port + for the service. Default values are: 6933 for Frontend service + 6934 for History service 6935 for Matching service 6939 + for Worker service' type: integer overrides: description: Overrides adds some overrides to the resources @@ -2884,11 +2928,15 @@ spec: description: Enabled defines if we want to spawn the internal frontend service. type: boolean + httpPort: + description: 'HTTPPort defines a custom http port for the + service. Default values are: 7243 for Frontend service' + type: integer membershipPort: - description: 'Port defines a custom membership port for the - service. Default values are: 6933 for Frontend service 6934 - for History service 6935 for Matching service 6939 for Worker - service' + description: 'MembershipPort defines a custom membership port + for the service. Default values are: 6933 for Frontend service + 6934 for History service 6935 for Matching service 6939 + for Worker service' type: integer overrides: description: Overrides adds some overrides to the resources @@ -3024,11 +3072,15 @@ spec: matching: description: Matching service custom specifications. properties: + httpPort: + description: 'HTTPPort defines a custom http port for the + service. Default values are: 7243 for Frontend service' + type: integer membershipPort: - description: 'Port defines a custom membership port for the - service. Default values are: 6933 for Frontend service 6934 - for History service 6935 for Matching service 6939 for Worker - service' + description: 'MembershipPort defines a custom membership port + for the service. Default values are: 6933 for Frontend service + 6934 for History service 6935 for Matching service 6939 + for Worker service' type: integer overrides: description: Overrides adds some overrides to the resources @@ -3231,11 +3283,15 @@ spec: worker: description: Worker service custom specifications. properties: + httpPort: + description: 'HTTPPort defines a custom http port for the + service. Default values are: 7243 for Frontend service' + type: integer membershipPort: - description: 'Port defines a custom membership port for the - service. Default values are: 6933 for Frontend service 6934 - for History service 6935 for Matching service 6939 for Worker - service' + description: 'MembershipPort defines a custom membership port + for the service. Default values are: 6933 for Frontend service + 6934 for History service 6935 for Matching service 6939 + for Worker service' type: integer overrides: description: Overrides adds some overrides to the resources @@ -3557,24 +3613,18 @@ spec: description: Service is an optional service resource configuration for the UI. properties: - metadata: - description: ObjectMetaOverride provides the ability to override - an object metadata. It's a subset of the fields included - in k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta. - properties: - annotations: - additionalProperties: - type: string - description: Annotations is an unstructured key value - map stored with a resource that may be set by external - tools to store and retrieve arbitrary metadata. - type: object - labels: - additionalProperties: - type: string - description: Map of string keys and values that can be - used to organize and categorize (scope and select) objects. - type: object + annotations: + additionalProperties: + type: string + description: Annotations is an unstructured key value map + stored with a resource that may be set by external tools + to store and retrieve arbitrary metadata. + type: object + labels: + additionalProperties: + type: string + description: Map of string keys and values that can be used + to organize and categorize (scope and select) objects. type: object type: object version: diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 76aff793..166d7e74 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -4,4 +4,4 @@ resources: - manager.yaml images: - name: ghcr.io/alexandrevilain/temporal-operator - newTag: v0.15.4 + newTag: v0.16.0 diff --git a/config/manifests/bases/temporal-operator.clusterserviceversion.yaml b/config/manifests/bases/temporal-operator.clusterserviceversion.yaml index 809a7963..34c149d2 100644 --- a/config/manifests/bases/temporal-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/temporal-operator.clusterserviceversion.yaml @@ -254,7 +254,7 @@ spec: provider: name: Temporal Community url: https://temporal.io/ - replaces: temporal-operator.v0.15.3 + replaces: temporal-operator.v0.15.4 version: 0.10.0 webhookdefinitions: - admissionReviewVersions: