-
Notifications
You must be signed in to change notification settings - Fork 35
ILS-2361 Namespace exclusion #1135
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
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,7 @@ ibmLicensing: | |
| httpsEnable: true | ||
| features: | ||
| nssEnabled: false | ||
| excludeNamespace: "" | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want to have "" as default or maybe just hide |
||
| nodeCpuCappingEnabled: true | ||
| kubeRBACAuthEnabled: true | ||
| operandRequestsEnabled: true | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,6 +66,10 @@ spec: | |
| value: {{ .Values.ibmLicensing.spec.features.kubeRBACAuthEnabled | quote }} | ||
| - name: CUSTOM_RESOURCES_ENABLED | ||
| value: {{ .Values.ibmLicensing.spec.features.customResourcesEnabled | quote }} | ||
| {{- if and (not .Values.ibmLicensing.spec.features.nssEnabled) (.Values.ibmLicensing.spec.features.excludeNamespace) }} | ||
| - name: EXCLUDE_NAMESPACE | ||
| value: {{ .Values.ibmLicensing.spec.features.excludeNamespace | quote }} | ||
| {{- end }} | ||
|
Comment on lines
+69
to
+72
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Helm chart follows the logic of the operator here: create EXCLUDE_NAMESPACE only when nssEnabled=false and excludeNamespace not empty (warning: no sanitization in helm version) |
||
| image: {{ .Values.global.imagePullPrefix }}/{{ .Values.ibmLicensing.imageRegistryNamespaceOperand }}/ibm-licensing:{{ .Values.ibmLicensing.ibmLicensingVersion }} | ||
| imagePullPolicy: IfNotPresent | ||
| livenessProbe: | ||
|
|
@@ -158,6 +162,10 @@ spec: | |
| value: {{ .Values.ibmLicensing.spec.features.kubeRBACAuthEnabled | quote }} | ||
| - name: CUSTOM_RESOURCES_ENABLED | ||
| value: {{ .Values.ibmLicensing.spec.features.customResourcesEnabled | quote }} | ||
| {{- if and (not .Values.ibmLicensing.spec.features.nssEnabled) (.Values.ibmLicensing.spec.features.excludeNamespace) }} | ||
| - name: EXCLUDE_NAMESPACE | ||
| value: {{ .Values.ibmLicensing.spec.features.excludeNamespace | quote }} | ||
| {{- end }} | ||
|
Comment on lines
+165
to
+168
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| image: {{ .Values.global.imagePullPrefix }}/{{ .Values.ibmLicensing.imageRegistryNamespaceOperand }}/ibm-licensing:{{ .Values.ibmLicensing.ibmLicensingVersion }} | ||
| imagePullPolicy: IfNotPresent | ||
| name: ocp-check-secret | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,7 @@ ibmLicensing: | |
| enableInstanaMetricCollection: false | ||
| features: | ||
| nssEnabled: false | ||
| excludeNamespace: "" | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want to have "" as default or maybe just hide excludeNamespace param in values.yaml? |
||
| nodeCpuCappingEnabled: true | ||
| kubeRBACAuthEnabled: true | ||
| customResourcesEnabled: true | ||
|
|
||
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.
This change was not autogenerated, added CRD parameter was hand-picked and moved here to helm CRD