-
Notifications
You must be signed in to change notification settings - Fork 460
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
[operator] support cutom autocert-certPeriod time by days #1249
Conversation
Since each CI will re-generated |
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.
the name of this example should be custom-auto-generate-cert-period
IMO
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.
also, do we need to have a full example for setting this single variable?
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.
I think examples/cutstom-autoGenerateCert-period/values.yaml
content is the full example
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.
yes, i'm not sure we need to make a whole new full example for this, i was mentioning that the naming with caps is a bit odd here too
@jaronoff97 hi, any idea about this? |
@JaredTan95 what do you get if you run the make generate locally? |
every time run ``
Similarly, the certificate is regenerated each time with |
@JaredTan95 i'll try running locally and see what happens. |
@JaredTan95 seems like we have failures here too same thing. |
ohhh i see the problem now... hmmm..... |
Let's not add the new problematic example. The scenario is pretty straight forward (as in the values.yaml file isn't common or interesting) so I don't think we need a new example for it. |
…etry#1249) * support cutom autocert certPeriod time by years * revert * polish * update * remove some example --------- Co-authored-by: Jacob Aronoff <jaronoff97@users.noreply.github.com> Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
As otel-operator matures, the default 365 days will be at risk when users choose to deploy the operator by autoGenerateCert. Therefore, this PR is intended to provide the ability to configure the expiration time.
I performed local verification in the following way:
operator-chart
, the same withexamples/cutstom-autoGenerateCert-period/values.yaml
tls.cert
openssl
to check the period time of tls.crtand I got this: