install

package
v0.1.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 33 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// ExternalDNSImage - This is specifically tag 1.1.0-3 from https://catalog.redhat.com/software/containers/edo/external-dns-rhel8/61d4c35023156829b87a434a?container-tabs=overview&tag=1.1.0-3&push_date=1671131187000
	// TODO this needs to be updated to a multi-arch image including Arm - https://issues.redhat.com/browse/NE-1298
	ExternalDNSImage = "registry.redhat.io/edo/external-dns-rhel8@sha256:638fb6b5fc348f5cf52b9800d3d8e9f5315078fc9b1e57e800cb0a4a50f1b4b9"
)

Variables

View Source
var (
	RenderFormatYaml = "yaml"
	RenderFormatJson = "json"

	TemplateParamHyperShiftImage          = "OPERATOR_IMG"
	TemplateParamHyperShiftImageTag       = "IMAGE_TAG"
	TemplateParamNamespace                = "NAMESPACE"
	TemplateParamOIDCS3Name               = "OIDC_S3_NAME"
	TemplateParamOIDCS3Region             = "OIDC_S3_REGION"
	TemplateParamOIDCS3CredsSecret        = "OIDC_S3_CREDS_SECRET"
	TemplateParamOIDCS3CredsSecretKey     = "OIDC_S3_CREDS_SECRET_KEY"
	TemplateParamAWSPrivateRegion         = "AWS_PRIVATE_REGION"
	TemplateParamAWSPrivateCredsSecret    = "AWS_PRIVATE_CREDS_SECRET"
	TemplateParamAWSPrivateCredsSecretKey = "AWS_PRIVATE_CREDS_SECRET_KEY"
	TemplateParamOperatorReplicas         = "OPERATOR_REPLICAS"
	TemplateParamExternalDNSCredsSecret   = "EXTERNAL_DNS_CREDS_SECRET"
	TemplateParamExternalDNSDomainFilter  = "EXTERNAL_DNS_DOMAIN_FILTER"
	TemplateParamExternalDNSTxtOwnerID    = "EXTERNAL_DNS_TXT_OWNER_ID"
)

Functions

func NewCommand

func NewCommand() *cobra.Command

func NewRenderCommand

func NewRenderCommand(opts *Options) *cobra.Command

Types

type ObjectPatch

type ObjectPatch struct {
	Kind  string
	Name  string
	Path  []string
	Value string
}

func (*ObjectPatch) CanBeAppliedTo

func (p *ObjectPatch) CanBeAppliedTo(obj crclient.Object) bool

type Options

type Options struct {
	AdditionalTrustBundle                     string
	Namespace                                 string
	HyperShiftImage                           string
	ImageRefsFile                             string
	HyperShiftOperatorReplicas                int32
	Development                               bool
	EnableDefaultingWebhook                   bool
	EnableValidatingWebhook                   bool
	EnableConversionWebhook                   bool
	Template                                  bool
	Format                                    string
	OutputTypes                               string
	ExcludeEtcdManifests                      bool
	PlatformMonitoring                        metrics.PlatformMonitoring
	EnableCIDebugOutput                       bool
	PrivatePlatform                           string
	AWSPrivateCreds                           string
	AWSPrivateCredentialsSecret               string
	AWSPrivateCredentialsSecretKey            string
	AWSPrivateRegion                          string
	OIDCStorageProviderS3Region               string
	OIDCStorageProviderS3BucketName           string
	OIDCStorageProviderS3Credentials          string
	OIDCStorageProviderS3CredentialsSecret    string
	OIDCStorageProviderS3CredentialsSecretKey string
	ExternalDNSProvider                       string
	ExternalDNSCredentials                    string
	ExternalDNSCredentialsSecret              string
	ExternalDNSDomainFilter                   string
	ExternalDNSTxtOwnerId                     string
	ExternalDNSImage                          string
	EnableAdminRBACGeneration                 bool
	EnableUWMTelemetryRemoteWrite             bool
	EnableCVOManagementClusterMetricsAccess   bool
	MetricsSet                                metrics.MetricsSet
	WaitUntilAvailable                        bool
	WaitUntilEstablished                      bool
	RHOBSMonitoring                           bool
	SLOsAlerts                                bool
	MonitoringDashboards                      bool
	CertRotationScale                         time.Duration
	EnableDedicatedRequestServingIsolation    bool
	PullSecretFile                            string
	ManagedService                            string
	EnableSizeTagging                         bool
}

func (*Options) ApplyDefaults

func (o *Options) ApplyDefaults()

func (*Options) Validate

func (o *Options) Validate() error

func (*Options) ValidateRender

func (o *Options) ValidateRender() error

type Outputs added in v0.1.23

type Outputs string
const (
	OutputAll       Outputs = "all"
	OutputCRDs      Outputs = "crds"
	OutputResources Outputs = "resources"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL