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

commands,pkg/scaffold,hack,pkg/helm: run and migrate command support for helm #897

Merged
merged 7 commits into from
Jan 15, 2019

Conversation

joelanford
Copy link
Member

Description of the change:
Adding support for the operator-sdk run helm command and operator-sdk migrate command in the context of an existing helm operator (see #887 for similar work done for ansible)

Motivation for the change:
See #860

@openshift-ci-robot openshift-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jan 10, 2019
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 13, 2019
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 14, 2019
name = "github.com/operator-framework/operator-sdk"
# The version rule is used for a specific release and the master branch for in between releases.
branch = "master" #osdk_branch_annotation
# version = "=v0.3.0" #osdk_version_annotation
Copy link
Contributor

Choose a reason for hiding this comment

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

I just remembered that we need to update this scaffold for each release as well now.

@joelanford Can you please update the release guide section for the version update as well.

We need to bump both pkg/scaffold/ansible/gopkgtoml.go and this file pkg/scaffold/helm/gopkgtoml.go

@estroz We just need to add checks for these two files in the release.sh script to ensure the versions are set correctly at release time as well right? Similar to the existing checks:
https://github.com/operator-framework/operator-sdk/blob/master/release.sh#L38-L41

Copy link
Contributor

Choose a reason for hiding this comment

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

@estroz scratch that. I just saw @joelanford already added the check for this file down in release.sh.

Copy link
Contributor

@hasbro17 hasbro17 left a comment

Choose a reason for hiding this comment

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

LGTM after nit.

@joelanford joelanford merged commit 419cfd3 into operator-framework:master Jan 15, 2019
@joelanford joelanford deleted the helm-run-migrate branch January 15, 2019 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants