mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
Merge pull request #9950 from barbacbd/OCPBUGS-61901
OCPBUGS-61901: Update explain for Publish
This commit is contained in:
@@ -7837,11 +7837,13 @@ spec:
|
||||
default: External
|
||||
description: |-
|
||||
Publish controls how the user facing endpoints of the cluster like the Kubernetes API, OpenShift routes etc. are exposed.
|
||||
A "Mixed" strategy only applies to the "azure" platform, and requires "operatorPublishingStrategy" to be configured.
|
||||
When no strategy is specified, the strategy is "External".
|
||||
enum:
|
||||
- ""
|
||||
- External
|
||||
- Internal
|
||||
- Mixed
|
||||
type: string
|
||||
pullSecret:
|
||||
description: PullSecret is the secret to use when pulling images.
|
||||
|
||||
@@ -20,6 +20,7 @@ func Test_lookup(t *testing.T) {
|
||||
}, {
|
||||
path: []string{"publish"},
|
||||
desc: `Publish controls how the user facing endpoints of the cluster like the Kubernetes API, OpenShift routes etc. are exposed.
|
||||
A "Mixed" strategy only applies to the "azure" platform, and requires "operatorPublishingStrategy" to be configured.
|
||||
When no strategy is specified, the strategy is "External".`,
|
||||
}, {
|
||||
path: []string{"publish", "unknown"},
|
||||
|
||||
@@ -143,8 +143,9 @@ If unset, the cluster will not be configured to use a proxy.
|
||||
|
||||
publish <string>
|
||||
Default: "External"
|
||||
Valid Values: "","External","Internal"
|
||||
Valid Values: "","External","Internal","Mixed"
|
||||
Publish controls how the user facing endpoints of the cluster like the Kubernetes API, OpenShift routes etc. are exposed.
|
||||
A "Mixed" strategy only applies to the "azure" platform, and requires "operatorPublishingStrategy" to be configured.
|
||||
When no strategy is specified, the strategy is "External".
|
||||
|
||||
pullSecret <string> -required-
|
||||
@@ -414,8 +415,9 @@ VERSION: v1
|
||||
|
||||
RESOURCE: <string>
|
||||
Default: "External"
|
||||
Valid Values: "","External","Internal"
|
||||
Valid Values: "","External","Internal","Mixed"
|
||||
Publish controls how the user facing endpoints of the cluster like the Kubernetes API, OpenShift routes etc. are exposed.
|
||||
A "Mixed" strategy only applies to the "azure" platform, and requires "operatorPublishingStrategy" to be configured.
|
||||
When no strategy is specified, the strategy is "External".
|
||||
`,
|
||||
}, {
|
||||
|
||||
@@ -63,7 +63,7 @@ var (
|
||||
)
|
||||
|
||||
// PublishingStrategy is a strategy for how various endpoints for the cluster are exposed.
|
||||
// +kubebuilder:validation:Enum="";External;Internal
|
||||
// +kubebuilder:validation:Enum="";External;Internal;Mixed
|
||||
type PublishingStrategy string
|
||||
|
||||
const (
|
||||
@@ -157,6 +157,7 @@ type InstallConfig struct {
|
||||
ImageDigestSources []ImageDigestSource `json:"imageDigestSources,omitempty"`
|
||||
|
||||
// Publish controls how the user facing endpoints of the cluster like the Kubernetes API, OpenShift routes etc. are exposed.
|
||||
// A "Mixed" strategy only applies to the "azure" platform, and requires "operatorPublishingStrategy" to be configured.
|
||||
// When no strategy is specified, the strategy is "External".
|
||||
//
|
||||
// +kubebuilder:default=External
|
||||
|
||||
Reference in New Issue
Block a user