-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
csi: add default version to images if it is missing #11577
Conversation
pkg/operator/ceph/csi/util.go
Outdated
func getImage( | ||
data map[string]string, | ||
settingName string, | ||
defaultImage string) string { |
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.
func getImage( | |
data map[string]string, | |
settingName string, | |
defaultImage string) string { | |
func getImage(data map[string]string,configKey,defaultImage string) string { |
8f101f4
to
9d21a00
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.
just a small doc suggestion, thanks!
@@ -27,6 +27,12 @@ ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v6.2.1" | |||
ROOK_CSIADDONS_IMAGE: "quay.io/csiaddons/k8s-sidecar:v0.5.0" | |||
``` | |||
|
|||
!!! note |
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.
Instead of a note how about a header so it's obvious this feature is for using a private repo?
!!! note | |
### **Use private repo** |
Rook will now append internal default versions to custom csi image variables passed down if version is missing in them. This will enable users using their private registries to just pass different image names while rook takes care of adding default versions to them. Resolves: rook#10529 Signed-off-by: Rakshith R <rar@redhat.com>
9d21a00
to
12fd87f
Compare
csi: add default version to images if it is missing (backport #11577)
Rook will now append internal default versions to custom csi image variables passed down if version is missing in them.
This will enable users using their private registries to just pass different image names while rook takes care of adding default versions to them.
Resolves: #10529
Signed-off-by: Rakshith R rar@redhat.com
Checklist:
skip-ci
on the PR.