Skip to content

Commit

Permalink
Adjust machine sets to work on ocp 4.16
Browse files Browse the repository at this point in the history
The machineset no longer works on ocp 4.16.  This pr adds in some
filters which seem to be additional required configuration that resolves
the issue.

Refs:
 - https://issues.redhat.com/browse/OCPQE-22447

Signed-off-by: Gus Parvin <[email protected]>
  • Loading branch information
gparvin authored and openshift-merge-bot[bot] committed Jun 12, 2024
1 parent 1644712 commit b006fcb
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ spec:
- name: tag:Name
values:
- '{{ (lookup "config.openshift.io/v1" "Infrastructure" "" "cluster").status.infrastructureName }}-worker-sg'
{{- $ocpversion := semver (fromClusterClaim "version.openshift.io") }}
{{- if gt $ocpversion.Minor 15 }}
- filters:
- name: tag:Name
values:
- '{{ (lookup "config.openshift.io/v1" "Infrastructure" "" "cluster").status.infrastructureName }}-node'
- filters:
- name: tag:Name
values:
- '{{ (lookup "config.openshift.io/v1" "Infrastructure" "" "cluster").status.infrastructureName }}-lb'
{{- end }}
subnet:
filters:
- name: tag:Name
Expand Down

0 comments on commit b006fcb

Please sign in to comment.