-
Notifications
You must be signed in to change notification settings - Fork 8
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
Ensure that the fields mentioned in samples are configurable. #162
Conversation
pkg/drivers/powerstore.go
Outdated
log.Debugw("preCheck", "secrets", len(secrets)) | ||
return nil | ||
} | ||
|
||
// ModifyPowerstoreCR - | ||
func ModifyPowerstoreCR(YamlString string, cr csmv1.ContainerStorageModule, file_type 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.
Please maintain the naming convention for variables
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.
Taken care
pkg/drivers/powerstore.go
Outdated
nfsacls := "" | ||
healthmonitor_controller := "" | ||
chap := "" | ||
healthmonitor_node := "" |
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.
Same comment as above for all the variables declared from Line No 84-89
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.
taken care
@karthikk92 , Please ensure to rebase your branch and also fix the linting issues |
67af051
to
49db8c5
Compare
- name: X_CSI_POWERSTORE_CONFIG_PATH | ||
value: /powerstore-config/config | ||
- name: X_CSI_POWERSTORE_CONFIG_PARAMS_PATH | ||
value: /powerstore-config-params/driver-config-params.yaml | ||
- name: GOPOWERSTORE_DEBUG | ||
value: "true" | ||
- name: X_CSI_HEALTH_MONITOR_ENABLED | ||
value: "false" | ||
value: "<X_CSI_HEALTH_MONITOR_ENABLED>" |
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.
@karthikk92 , Do we need quotes 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.
taken care
4e58cfb
to
61bc9a2
Compare
taken care |
mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi | ||
mountPropagation: "Bidirectional" | ||
- name: pods-path | ||
mountPath: /var/lib/kubelet/pods | ||
value: "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.
Do we have value for volumeMounts. @kk3 please check
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.
taken care
- name: X_CSI_POWERSTORE_CONFIG_PATH | ||
value: /powerstore-config/config | ||
- name: X_CSI_POWERSTORE_CONFIG_PARAMS_PATH | ||
value: /powerstore-config-params/driver-config-params.yaml | ||
- name: GOPOWERSTORE_DEBUG | ||
value: "true" | ||
- name: X_CSI_HEALTH_MONITOR_ENABLED | ||
value: "<X_CSI_HEALTH_MONITOR_ENABLED>" | ||
volumeMounts: |
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.
@kk3, please check if volumeMounts section is duplicated in this file
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.
taken care
Ensure that the fields mentioned in samples are configurable.
Fixed issue:
PV creation is not processed for csi-powerstore installed using csm-operator
Added checks to validate secrets.
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist: