Skip to content
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Image URL to use all building/pushing image targets
IMG ?= temporal-worker-controller:latest
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.27.1
ENVTEST_K8S_VERSION = 1.29.0

MAIN_BRANCH = main
ALL_TEST_TAGS = test_dep
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/deprecated_temporalconnection_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type TemporalConnectionStatus struct {
//+kubebuilder:resource:shortName=tconn
//+kubebuilder:printcolumn:name="Host",type="string",JSONPath=".spec.hostPort",description="Temporal server endpoint"
//+kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Age"
// +kubebuilder:validation:XValidation:rule="oldSelf != null",message="TemporalConnection is deprecated and cannot be created. Use Connection instead."
// +kubebuilder:validation:XValidation:rule="oldSelf.hasValue()",message="TemporalConnection is deprecated and cannot be created. Use Connection instead.",optionalOldSelf=true
// +kubebuilder:deprecatedversion:warning="TemporalConnection is deprecated. Use Connection instead."

// TemporalConnection is the Schema for the temporalconnections API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ type TemporalWorkerDeploymentStatus struct {
//+kubebuilder:printcolumn:name="Ramp %",type="number",JSONPath=".status.targetVersion.rampPercentage",description="Ramp percentage"
//+kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Age"
// +kubebuilder:validation:XValidation:rule="size(self.metadata.name) <= 63",message="name cannot be more than 63 characters"
// +kubebuilder:validation:XValidation:rule="oldSelf != null",message="TemporalWorkerDeployment is deprecated and cannot be created. Use WorkerDeployment instead."
// +kubebuilder:validation:XValidation:rule="oldSelf.hasValue()",message="TemporalWorkerDeployment is deprecated and cannot be created. Use WorkerDeployment instead.",optionalOldSelf=true
// +kubebuilder:deprecatedversion:warning="TemporalWorkerDeployment is deprecated. Use WorkerDeployment instead."

// TemporalWorkerDeployment is the Schema for the temporalworkerdeployments API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ spec:
x-kubernetes-validations:
- message: TemporalConnection is deprecated and cannot be created. Use Connection
instead.
rule: oldSelf != null
optionalOldSelf: true
rule: oldSelf.hasValue()
served: true
storage: true
subresources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4216,7 +4216,8 @@ spec:
rule: size(self.metadata.name) <= 63
- message: TemporalWorkerDeployment is deprecated and cannot be created. Use
WorkerDeployment instead.
rule: oldSelf != null
optionalOldSelf: true
rule: oldSelf.hasValue()
served: true
storage: true
subresources:
Expand Down
Loading