asset

package
v0.0.0-...-9674cd4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AutoRegisterManagedLabel = "kube-aggregator.kubernetes.io/automanaged"
)
View Source
const (
	SecretNamePrefix = "server-serving-cert"
)
View Source
const (
	ServingCertSecretAnnotationName = "service.alpha.openshift.io/serving-cert-secret-name"
)

Variables

View Source
var DefaultNodeSelector = map[string]string{
	"node-role.kubernetes.io/master": "",
}
View Source
var DefaultReplicas int32 = 2
View Source
var DefaultTolerations = []corev1.Toleration{
	{
		Key:      "node-role.kubernetes.io/master",
		Operator: corev1.TolerationOpExists,
		Effect:   corev1.TaintEffectNoSchedule,
	},
	{
		Key:               "node.kubernetes.io/unreachable",
		Operator:          corev1.TolerationOpExists,
		Effect:            corev1.TaintEffectNoExecute,
		TolerationSeconds: &tolerationSeconds,
	},
	{
		Key:               "node.kubernetes.io/not-ready",
		Operator:          corev1.TolerationOpExists,
		Effect:            corev1.TaintEffectNoExecute,
		TolerationSeconds: &tolerationSeconds,
	},
}

Functions

This section is empty.

Types

type Asset

type Asset struct {
	// contains filtered or unexported fields
}

func New

func New(context runtime.OperandContext) *Asset

func (*Asset) APIService

func (a *Asset) APIService() *apiservice

func (*Asset) CABundleConfigMap

func (a *Asset) CABundleConfigMap() *caBundleConfigMap

func (*Asset) Configuration

func (a *Asset) Configuration() *configuration

func (*Asset) DaemonSet

func (a *Asset) DaemonSet() *daemonset

func (*Asset) Deployment

func (a *Asset) Deployment() *deployment

func (*Asset) NewMutatingWebhookConfiguration

func (a *Asset) NewMutatingWebhookConfiguration() *mutatingWebhookConfiguration

func (*Asset) NewServiceAccount

func (a *Asset) NewServiceAccount() *corev1.ServiceAccount

func (*Asset) RBAC

func (a *Asset) RBAC() *rbac

func (*Asset) Service

func (a *Asset) Service() *service

func (*Asset) ServiceServingSecret

func (a *Asset) ServiceServingSecret() *serviceServingSecret

func (*Asset) Values

func (a *Asset) Values() *Values

type RBACItem

type RBACItem struct {
	Resource string
	Object   operatorruntime.Object
}

type Values

type Values struct {
	Name                 string
	Namespace            string
	ServiceAccountName   string
	OperandImage         string
	OperandVersion       string
	AdmissionAPIGroup    string
	AdmissionAPIVersion  string
	AdmissionAPIResource string
	OwnerLabelKey        string
	OwnerLabelValue      string
	SelectorLabelKey     string
	SelectorLabelValue   string
	ConfigurationKey     string

	ConfigurationHashAnnotationKey string
	ServingCertHashAnnotationKey   string
	OwnerAnnotationKey             string
}

Jump to

Keyboard shortcuts

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