-
Notifications
You must be signed in to change notification settings - Fork 456
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 flag for go template to format host names #130
Conversation
e17efd5
to
490dc4a
Compare
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.
Please update the documentation or add a new doc on how to use this feature @dmayle
de6d7c6
to
954b63c
Compare
I've updated the docs and merged in recent changes |
954b63c
to
024937f
Compare
I can't seem to figure out how to mark that I've made the changes requested @harshavardhana |
There is no such thing in GitHub AFAIK @dmayle |
Code looks good any chance you can add a test for |
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.
@dmayle couple of comments
-
Custom template works fine in general, but breaks the automatics TLS configuration when
requestAutoCert
is set to true. Can you pls addTemplatedMinIOHosts()
in https://github.com/minio/minio-operator/blob/master/pkg/controller/cluster/csr.go#L70 as well. -
Operator is generally going to be run as a container, instead of a binary. So, it would be better if we add the example to pass
--hosts-template
in theminio-operator.yaml
file
63e5c4a
to
2c6c483
Compare
@kerneltime added a test for the various template variables. |
2c6c483
to
35211f4
Compare
When using an alternate DNS like external-dns, your host names will be different than the internal core-dns format. This adds a flag so that the user can specify the name format using a go template.
35211f4
to
66ce518
Compare
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.
Thanks @dmayle looks great
This PR also fixes a regression introduced in #130 where incorrect arguements are passed to MinIO containers.
Update the install-tackle script to handle installing the konveyor operator using OLM via provided bundle image. With this, we should be able to test...at a minimum ... that our operator installs as part of PR checks. Fixes minio#130 Signed-off-by: David Zager <david.j.zager@gmail.com>
When using an alternate DNS like external-dns, your host names will be
different than the internal core-dns format. This adds a flag so that
the user can specify the name format using a go template.