-
Notifications
You must be signed in to change notification settings - Fork 211
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 generate Makefile target to generate operator-sdk resources #363
Conversation
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.
Can we make 2 different versions of CRD, one for v1beta1 and other for v1. Also upgrade the kubernetes version here so that our e2e tests will pass https://github.com/pravega/zookeeper-operator/blob/master/.github/workflows/ci.yaml#L33
I couldn't find a way to do that using operator-sdk.
done, thanks for the pointer |
Codecov Report
@@ Coverage Diff @@
## master #363 +/- ##
==========================================
- Coverage 86.13% 85.87% -0.26%
==========================================
Files 11 11
Lines 1558 1558
==========================================
- Hits 1342 1338 -4
- Misses 141 147 +6
+ Partials 75 73 -2
Continue to review full report at Codecov.
|
If we didnt mention crd version here in |
i know that but again do we want to stick with v1beta1 ? It's going EOL in couple of months once k8s 1.22 is released |
f236798
to
17024b2
Compare
// be propagated through the whole operator, generating | ||
// uniform and structured logs. | ||
logf.SetLogger(logf.ZapLogger(false)) | ||
|
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.
why are we removing this? will it cause any logging format change in operator logs?
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 catch - missed a local commit here
e695e8e
to
54ff34d
Compare
@amuraru Could you please verify operator upgrades are working fine? |
properties: | ||
containerPort: | ||
description: Number of port to expose on the pod's IP address. | ||
This must be a valid port number, 0 < x < 65536. | ||
format: int32 | ||
minimum: 1 | ||
maximum: 65535 |
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.
some of the openAPI Schema validations got removed. Could you please fix those? these were added additionally after generating CRD
Upgraded operator-sdk: 0.17 -> 0.19 As part of this upgrade the following dependencies were also upgraded: - Go 1.13 -> 1.16 - sigs.k8s.io/controller-runtime v0.5.2 -> v0.6.5 - k8s v0.17.5 -> v0.19.13
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.
LGTM
Change log description
generate
Makefile target to generate k8s and CRD resources via operator-sdkFixes #364