Skip to content

Commit 4ea1a6d

Browse files
committed
fixup! Use namespace auth pull secret
1 parent 252145c commit 4ea1a6d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ type RegistryConfig struct {
7979
Path string `json:"path,omitempty"`
8080
// AuthSecret is the name of a Kubernetes secret of
8181
// type kubernetes.io/dockerconfigjson.
82-
// The secret is expected to be in the same namespace
82+
// The secret is expected to be in the same namespace the workspace is running in.
83+
// If secret is not found in the workspace namespace, the operator will look for the secret
84+
// in the namespace where the operator is running in.
8385
// as the DevWorkspaceOperatorCongfig.
8486
// +kubebuilder:validation:Optional
8587
AuthSecret string `json:"authSecret,omitempty"`

deploy/templates/crd/bases/controller.devfile.io_devworkspaceoperatorconfigs.yaml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)