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
Adressing proxy promotion issues #773
Adressing proxy promotion issues #773
Conversation
Hi @Patryk-Stefanski. Thanks for your PR. I'm waiting for a 3scale member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Can you fix indenting issues like https://github.com/3scale/3scale-operator/pull/773/files#diff-b7a85d834496ef811bc135bcf19a9cb43d407ed592225b17396bc8bcaaeff8cbR17? Not a big deal, but things like this are very weird
|
@@ -24,6 +27,30 @@ Generated using [github-markdown-toc](https://github.com/ekalinin/github-markdow | |||
| Production | `production` | bool | If true promotes to production, if false promotes to staging | No | | |||
| DeleteCR | `deleteCR` | bool | If true deletes the resource after a succesfull promotion | No | | No | | |||
|
|||
#### Provider Account Reference |
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.
there is no provider account reference in the spec.
To be consistent with other CRDs, there should be one. Have a look at the product, backend CRDs types.
Regarding the doc you can just "copy&paste" the documentation here.
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.
good spot, added it in. Thanks.
@@ -189,6 +189,8 @@ func (r *ProxyConfigPromoteReconciler) proxyConfigPromoteReconciler(proxyConfigP | |||
if err != nil { | |||
statusReconciler := NewProxyConfigPromoteStatusReconciler(r.BaseReconciler, proxyConfigPromote, "Failed", productIDStr, latestProductionVersion, latestStagingVersion, err) | |||
return statusReconciler, err | |||
} else { |
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.
this "spaghetti code" is calling for a refactor :)
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.
not to be done in this PR, though
verification steps have passed |
Code Climate has analyzed commit d2aaa41 and detected 0 issues on this pull request. View more on Code Climate. |
What
Addressing issues raised in this comment
Verification
2.Create dummy smtp secret
3.Create apimanager resource
cluster domain example :
apps.pstefans.uq32.s1.devshift.org