Documentation ¶
Index ¶
- Constants
- Variables
- type Asset
- func (a *Asset) APIService() *apiservice
- func (a *Asset) CABundleConfigMap() *caBundleConfigMap
- func (a *Asset) Configuration() *configuration
- func (a *Asset) DaemonSet() *daemonset
- func (a *Asset) Deployment() *deployment
- func (a *Asset) NewMutatingWebhookConfiguration() *mutatingWebhookConfiguration
- func (a *Asset) NewServiceAccount() *corev1.ServiceAccount
- func (a *Asset) RBAC() *rbac
- func (a *Asset) Service() *service
- func (a *Asset) ServiceServingSecret() *serviceServingSecret
- func (a *Asset) Values() *Values
- type RBACItem
- type Values
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) 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) ServiceServingSecret ¶
func (a *Asset) ServiceServingSecret() *serviceServingSecret
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 }
Click to show internal directories.
Click to hide internal directories.