-
Notifications
You must be signed in to change notification settings - Fork 84
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
Script to create new operator from already existing helm charts #714
Conversation
The intention of this script is to easy recreate operator files and ensure new version of operator-sdk can be used with our mods. This script expects clean output directory where the operator will be generated. Signed-off-by: Michal Pryc <mpryc@redhat.com>
fa785f0
to
2d1128f
Compare
This script together with #696 creates pelorus operator that allows to deploy pelorus stack. |
/retest |
/retest |
`.venv) [whayutin@thinkdoe pelorus]$ git branch
Please make sure you have the correct access rights Usage: ./scripts/create_pelorus_operator [OPTION]
(.venv) [whayutin@thinkdoe pelorus]$ ./scripts/create_pelorus_operator -s /tmp/operator/pelorus-operator/operator/helm-charts/pelorus-operators -d Usage: ./scripts/create_pelorus_operator [OPTION]
(.venv) [whayutin@thinkdoe pelorus]$ ./scripts/create_pelorus_operator -s /tmp/operator/pelorus-operator/operator/helm-charts/pelorus-operators -d /tmp/generated-operator/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good man.. thanks
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: weshayutin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…-metrics#714) The intention of this script is to easy recreate operator files and ensure new version of operator-sdk can be used with our mods. This script expects clean output directory where the operator will be generated. Signed-off-by: Michal Pryc <mpryc@redhat.com> Signed-off-by: Michal Pryc <mpryc@redhat.com>
The intention of this script is to easy recreate operator files and ensure new version of operator-sdk can be used with our mods.
This script expects clean output directory where the operator will be generated.
Signed-off-by: Michal Pryc mpryc@redhat.com
Testing Instructions
Ensure you have correct helm charts (from the https://github.com/mpryc/pelorus-operator/tree/master/operator/helm-charts/pelorus-operators). Once they will be clean in the pelorus repo we will use them from default location.
$ source .venv/bin/activate
$ mkdir /tmp/operator
$ mkdir /tmp/generated-operator
$ pushd /tmp/operator
$ git clone git@github.com:mpryc/pelorus-operator.git
$ popd
$ ./scripts/create_pelorus_operator -h
$ ./scripts/create_pelorus_operator -s /tmp/operator/pelorus-operator/operator/helm-charts/pelorus-operators -d /tmp/generated-operator
@redhat-cop/mdt