-
Notifications
You must be signed in to change notification settings - Fork 1.8k
deprecate OPERATOR_NAME environment variable #3361
Copy link
Copy link
Closed
Labels
kubebuilder-integrationRelates to rewriting the SDK in Kubebuilder plugin formRelates to rewriting the SDK in Kubebuilder plugin formlanguage/ansibleIssue is related to an Ansible operator projectIssue is related to an Ansible operator projectlanguage/helmIssue is related to a Helm operator projectIssue is related to a Helm operator project
Milestone
Metadata
Metadata
Assignees
Labels
kubebuilder-integrationRelates to rewriting the SDK in Kubebuilder plugin formRelates to rewriting the SDK in Kubebuilder plugin formlanguage/ansibleIssue is related to an Ansible operator projectIssue is related to an Ansible operator projectlanguage/helmIssue is related to a Helm operator projectIssue is related to a Helm operator project
We need to deprecate: OPERATOR_NAME environment variable is an artifact of the legacy operator-sdk project scaffolding and use
--leader-election-idshould be used instead.The OperatorName is the name of the directory of the operator by default which in go we set the info in the repo attribute in the PROJECT file. However, if we will or not use the repo for Ansible/Helm is an ongoing discussion. See: #3341 (comment)
Example: