--- # openshift_master_facts_default_predicates is a custom lookup plugin in # role lib_utils osm_prev_predicates: "{{ lookup('openshift_master_facts_default_predicates', short_version=openshift_upgrade_min }}" osm_prev_predicates_no_region: "{{ lookup('openshift_master_facts_default_predicates', short_version=openshift_upgrade_min, regions_enabled=False) }}" osm_default_predicates_no_region: "{{ lookup('openshift_master_facts_default_predicates', regions_enabled=False) }}" # osm_older_predicates are the set of predicates that have previously been # hard-coded into openshift_facts osm_older_predicates: - - name: MatchNodeSelector - name: PodFitsResources - name: PodFitsPorts - name: NoDiskConflict - name: NoVolumeZoneConflict - name: MaxEBSVolumeCount - name: MaxGCEPDVolumeCount - name: Region argument: serviceAffinity: labels: - region - - name: MatchNodeSelector - name: PodFitsResources - name: PodFitsPorts - name: NoDiskConflict - name: NoVolumeZoneConflict - name: Region argument: serviceAffinity: labels: - region - - name: MatchNodeSelector - name: PodFitsResources - name: PodFitsPorts - name: NoDiskConflict - name: Region argument: serviceAffinity: labels: - region # osm_older_predicates_no_region are the set of predicates that have previously # been hard-coded into openshift_facts, with the Region predicate removed osm_older_predicates_no_region: - - name: MatchNodeSelector - name: PodFitsResources - name: PodFitsPorts - name: NoDiskConflict - name: NoVolumeZoneConflict - name: MaxEBSVolumeCount - name: MaxGCEPDVolumeCount - - name: MatchNodeSelector - name: PodFitsResources - name: PodFitsPorts - name: NoDiskConflict - name: NoVolumeZoneConflict - - name: MatchNodeSelector - name: PodFitsResources - name: PodFitsPorts - name: NoDiskConflict osm_prev_priorities: "{{ lookup('openshift_master_facts_default_priorities', short_version=openshift_upgrade_min) }}" osm_prev_priorities_no_zone: "{{ lookup('openshift_master_facts_default_priorities', short_version=openshift_upgrade_min, zones_enabled=False) }}" osm_default_priorities_no_zone: "{{ lookup('openshift_master_facts_default_priorities', zones_enabled=False) }}" # osm_older_priorities are the set of priorities that have previously been # hard-coded into openshift_facts osm_older_priorities: - - name: LeastRequestedPriority weight: 1 - name: SelectorSpreadPriority weight: 1 - name: Zone weight: 2 argument: serviceAntiAffinity: label: zone # osm_older_priorities_no_region are the set of priorities that have previously # been hard-coded into openshift_facts, with the Zone priority removed osm_older_priorities_no_zone: - - name: LeastRequestedPriority weight: 1 - name: SelectorSpreadPriority weight: 1