Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KudoOperator task types #1515

Merged
merged 4 commits into from
May 15, 2020
Merged

Add KudoOperator task types #1515

merged 4 commits into from
May 15, 2020

Conversation

zen-dog
Copy link
Contributor

@zen-dog zen-dog commented May 12, 2020

to help parallelize upcoming work on KEP-29.

Signed-off-by: Aleksey Dukhovniy alex.dukhovniy@googlemail.com

Fixes: #1509

to help parallelize upcoming work on KEP-29.

Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
Plans map[string]Plan `json:"plans,omitempty"`

// ConnectionString defines a templated string that can be used to connect to an instance of the Operator.
// +optional
ConnectionString string `json:"connectionString,omitempty"`

// Dependencies a list of all dependencies of the operator.
Dependencies []OperatorDependency `json:"dependencies,omitempty"`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed an old remnant

@@ -102,7 +102,7 @@ The `zookeeper-operator` task specification is equivalent to `kudo install zooke
```yaml
tasks:
- name: demo
kind: Operator
kind: KudoOperator
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I ended up renaming s/Operator/KudoOperator thinking about other operators we could deploy in the future after we have a mechanism in place. But this is up for discussion.

Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
Copy link
Member

@nfnt nfnt left a comment

Choose a reason for hiding this comment

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

LGTM, one nit and one bigger issue regarding missing omitempty tags.

pkg/apis/kudo/v1beta1/operatorversion_types.go Outdated Show resolved Hide resolved
pkg/kudoctl/cmd/generate/testdata/maintainer.golden Outdated Show resolved Hide resolved
Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
@zen-dog zen-dog merged commit f3183ae into master May 15, 2020
@zen-dog zen-dog deleted the ad/operator-task-types branch May 15, 2020 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[KEP-29]: Create KudoOperatorTask
3 participants