-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #931 from petr-muller/cherry-pick-920-to-release-4.12
OCPBUGS-12182: Update dnsPolicy to allow consistent resolution of the internal LB
- Loading branch information
Showing
11 changed files
with
130 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package standard | ||
|
||
import ( | ||
"github.com/openshift/cluster-version-operator/pkg/clusterconditions" | ||
"github.com/openshift/cluster-version-operator/pkg/clusterconditions/always" | ||
"github.com/openshift/cluster-version-operator/pkg/clusterconditions/promql" | ||
"k8s.io/client-go/kubernetes" | ||
) | ||
|
||
func NewConditionRegistry(kubeClient kubernetes.Interface) clusterconditions.ConditionRegistry { | ||
conditionRegistry := clusterconditions.NewConditionRegistry() | ||
conditionRegistry.Register("Always", &always.Always{}) | ||
conditionRegistry.Register("PromQL", promql.NewPromQL(kubeClient)) | ||
|
||
return conditionRegistry | ||
} |
Oops, something went wrong.