Skip to content

*: consistently use *.sdk.operatorframework.io wherever we use domains#3527

Merged
joelanford merged 1 commit intooperator-framework:masterfrom
joelanford:consistent-domain
Jul 24, 2020
Merged

*: consistently use *.sdk.operatorframework.io wherever we use domains#3527
joelanford merged 1 commit intooperator-framework:masterfrom
joelanford:consistent-domain

Conversation

@joelanford
Copy link
Copy Markdown
Member

Description of the change:
Use a consistent domain suffix for all SDK features (plugin names, annotations, etc.)

Motivation for the change:
Consistency and to align with a domain we actually own.

Checklist

If the pull request includes user-facing changes, extra documentation is required:

@joelanford
Copy link
Copy Markdown
Member Author

I think I found all of them. If anyone knows of others, let me know!

Copy link
Copy Markdown
Member

@asmacdo asmacdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread internal/plugins/plugins.go
$ mkdir nginx-operator
$ cd nginx-operator
$ operator-sdk init --plugins=helm.operator-sdk.io/v1 --domain=com --group=example --version=v1alpha1 --kind=Nginx
$ operator-sdk init --plugins=helm.sdk.operatorframework.io/v1 --domain=com --group=example --version=v1alpha1 --kind=Nginx
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we would direct users to use short names to get the latest non-default plugin:

Suggested change
$ operator-sdk init --plugins=helm.sdk.operatorframework.io/v1 --domain=com --group=example --version=v1alpha1 --kind=Nginx
$ operator-sdk init --plugins=helm --domain=com --group=example --version=v1alpha1 --kind=Nginx

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix this in a follow-up.

Copy link
Copy Markdown
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 24, 2020
@joelanford joelanford merged commit faa4a56 into operator-framework:master Jul 24, 2020
@joelanford joelanford deleted the consistent-domain branch July 25, 2020 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants