Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dev/env/manifests/fleetshard-operator/51-fleetshard-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,7 @@ spec:
enabled: false
scc:
enabled: false
verticalPodAutoscaler:
vertical-pod-autoscaler:
enabled: $INSTALL_VERTICAL_POD_AUTOSCALER_OLM
nodeSelector:
node-role.kubernetes.io/worker: ""
2 changes: 1 addition & 1 deletion dp-terraform/helm/rhacs-terraform/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ dependencies:
condition: secured-cluster.enabled
- name: vertical-pod-autoscaler
version: "0.1.0"
condition: verticalPodAutoscaler.enabled
condition: vertical-pod-autoscaler.enabled
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ spec:
name: vertical-pod-autoscaler
source: redhat-operators
sourceNamespace: openshift-marketplace
{{- if .Values.nodeSelector }}
config:
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 6 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
enabled: true
# For HCP clusters, master nodes are hosted so VPA cannot use master node selectors
# because of that we need a way to overwrite initial selectors
nodeSelector: {}
5 changes: 4 additions & 1 deletion dp-terraform/helm/rhacs-terraform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,11 @@ secured-cluster:
nodeSelector:
node-role.kubernetes.io/acscs-infra: ""

verticalPodAutoscaler:
vertical-pod-autoscaler:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the renaming from verticalPodAutoscaler to vertical-pod-autoscaler intentional?

Copy link
Copy Markdown
Contributor Author

@johannes94 johannes94 Sep 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, because otherwise the values won't get piped through properly to the subchart. That is because the subchart is named vertical-pod-autoscaler already

enabled: true
# For HCP clusters, master nodes are hosted so VPA cannot use master node selectors
# because of that we need a way to overwrite initial selectors
nodeSelector: {}

scc:
enabled: true
Expand Down
Loading