Documentation ¶
Index ¶
- Constants
- func AWSProviderConfig(ns string) *corev1.ConfigMap
- func ClusterPolicyControllerCertSecret(ns string) *corev1.Secret
- func ClusterPolicyControllerConfig(ns string) *corev1.ConfigMap
- func ClusterPolicyControllerDeployment(ns string) *appsv1.Deployment
- func ClusterSignerCASecret(ns string) *corev1.Secret
- func CombinedCAConfigMap(ns string) *corev1.ConfigMap
- func EtcdClientSecret(ns string) *corev1.Secret
- func EtcdCluster(ns string) *etcdv1.EtcdCluster
- func EtcdOperatorDeployment(ns string) *appsv1.Deployment
- func EtcdOperatorRole(ns string) *rbacv1.Role
- func EtcdOperatorRoleBinding(ns string) *rbacv1.RoleBinding
- func EtcdOperatorServiceAccount(ns string) *corev1.ServiceAccount
- func EtcdPeerSecret(ns string) *corev1.Secret
- func EtcdServerSecret(ns string) *corev1.Secret
- func IngressCert(ns string) *corev1.Secret
- func IngressDefaultIngressController() *operatorv1.IngressController
- func IngressDefaultIngressControllerCert() *corev1.Secret
- func IngressDefaultIngressControllerCertWorkerManifest(ns string) *corev1.ConfigMap
- func IngressDefaultIngressControllerWorkerManifest(ns string) *corev1.ConfigMap
- func KASAdminClientCertSecret(ns string) *corev1.Secret
- func KASAggregatorCertSecret(ns string) *corev1.Secret
- func KASAuditConfig(controlPlaneNamespace string) *corev1.ConfigMap
- func KASBootstrapKubeconfigSecret(controlPlaneNamespace string) *corev1.Secret
- func KASConfig(controlPlaneNamespace string) *corev1.ConfigMap
- func KASDeployment(controlPlaneNamespace string) *appsv1.Deployment
- func KASEgressSelectorConfig(controlPlaneNamespace string) *corev1.ConfigMap
- func KASExternalKubeconfigSecret(controlPlaneNamespace string, ref *hyperv1.KubeconfigSecretRef) *corev1.Secret
- func KASKubeletClientCertSecret(ns string) *corev1.Secret
- func KASLocalhostKubeconfigSecret(controlPlaneNamespace string) *corev1.Secret
- func KASMachineBootstrapClientCertSecret(ns string) *corev1.Secret
- func KASOAuthMetadata(controlPlaneNamespace string) *corev1.ConfigMap
- func KASServerCertSecret(ns string) *corev1.Secret
- func KASService(controlPlaneNamespace string) *corev1.Service
- func KASServiceCAPIKubeconfigSecret(controlPlaneNamespace, infraID string) *corev1.Secret
- func KASServiceKubeconfigSecret(controlPlaneNamespace string) *corev1.Secret
- func KCMConfig(ns string) *corev1.ConfigMap
- func KCMDeployment(ns string) *appsv1.Deployment
- func KCMServiceServingCA(ns string) *corev1.ConfigMap
- func KonnectivityAgentDaemonSet() *appsv1.DaemonSet
- func KonnectivityAgentDeployment(ns string) *appsv1.Deployment
- func KonnectivityAgentSecret(ns string) *corev1.Secret
- func KonnectivityClientSecret(ns string) *corev1.Secret
- func KonnectivityClusterSecret(ns string) *corev1.Secret
- func KonnectivityServerDeployment(ns string) *appsv1.Deployment
- func KonnectivityServerLocalService(ns string) *corev1.Service
- func KonnectivityServerSecret(ns string) *corev1.Secret
- func KonnectivityServerService(hostedClusterNamespace string) *corev1.Service
- func KonnectivityWorkerAgentDaemonSet(ns string) *corev1.ConfigMap
- func KonnectivityWorkerAgentSecret(ns string) *corev1.ConfigMap
- func KubeAPIServerService(hostedClusterNamespace string) *corev1.Service
- func MachineConfigServerCert(ns string) *corev1.Secret
- func OAuthServerBrowserClient() *oauthv1.OAuthClient
- func OAuthServerBrowserClientManifest(ns string) *corev1.ConfigMap
- func OAuthServerChallengingClient() *oauthv1.OAuthClient
- func OAuthServerChallengingClientManifest(ns string) *corev1.ConfigMap
- func OAuthServerConfig(ns string) *corev1.ConfigMap
- func OAuthServerDefaultErrorTemplateSecret(ns string) *corev1.Secret
- func OAuthServerDefaultLoginTemplateSecret(ns string) *corev1.Secret
- func OAuthServerDefaultProviderSelectionTemplateSecret(ns string) *corev1.Secret
- func OAuthServerDeployment(ns string) *appsv1.Deployment
- func OAuthServerService(ns string) *corev1.Service
- func OAuthServerServiceSessionSecret(ns string) *corev1.Secret
- func OIDCRoute(hostedClusterNamespace string) *routev1.Route
- func OLMPackageServerCertSecret(ns string) *corev1.Secret
- func OLMPackageServerService(hostedClusterNamespace string) *corev1.Service
- func OauthAPIServerService(hostedClusterNamespace string) *corev1.Service
- func OauthServerRoute(hostedClusterNamespace string) *routev1.Route
- func OauthServerService(hostedClusterNamespace string) *corev1.Service
- func OpenShiftAPIServerAPIService(group string) *apiregistrationv1.APIService
- func OpenShiftAPIServerAPIServiceGroups() []string
- func OpenShiftAPIServerAuditConfig(ns string) *corev1.ConfigMap
- func OpenShiftAPIServerCertSecret(ns string) *corev1.Secret
- func OpenShiftAPIServerClusterEndpoints() *corev1.Endpoints
- func OpenShiftAPIServerClusterService() *corev1.Service
- func OpenShiftAPIServerConfig(ns string) *corev1.ConfigMap
- func OpenShiftAPIServerDeployment(ns string) *appsv1.Deployment
- func OpenShiftAPIServerWorkerAPIService(group, ns string) *corev1.ConfigMap
- func OpenShiftAPIServerWorkerEndpoints(ns string) *corev1.ConfigMap
- func OpenShiftAPIServerWorkerService(ns string) *corev1.ConfigMap
- func OpenShiftControllerManagerCertSecret(ns string) *corev1.Secret
- func OpenShiftControllerManagerConfig(ns string) *corev1.ConfigMap
- func OpenShiftControllerManagerDeployment(ns string) *appsv1.Deployment
- func OpenShiftControllerManagerNamespace() *corev1.Namespace
- func OpenShiftControllerManagerNamespaceWorkerManifest(ns string) *corev1.ConfigMap
- func OpenShiftControllerManagerServiceCA() *corev1.ConfigMap
- func OpenShiftControllerManagerServiceCAWorkerManifest(ns string) *corev1.ConfigMap
- func OpenShiftOAuthAPIServerAPIService(group string) *apiregistrationv1.APIService
- func OpenShiftOAuthAPIServerAPIServiceGroups() []string
- func OpenShiftOAuthAPIServerAuditConfig(ns string) *corev1.ConfigMap
- func OpenShiftOAuthAPIServerCertSecret(ns string) *corev1.Secret
- func OpenShiftOAuthAPIServerClusterEndpoints() *corev1.Endpoints
- func OpenShiftOAuthAPIServerClusterService() *corev1.Service
- func OpenShiftOAuthAPIServerDeployment(ns string) *appsv1.Deployment
- func OpenShiftOAuthAPIServerServiceServingCA(ns string) *corev1.ConfigMap
- func OpenShiftOAuthAPIServerWorkerAPIService(group, ns string) *corev1.ConfigMap
- func OpenShiftOAuthAPIServerWorkerEndpoints(ns string) *corev1.ConfigMap
- func OpenShiftOAuthAPIServerWorkerService(ns string) *corev1.ConfigMap
- func OpenShiftOAuthServerCert(ns string) *corev1.Secret
- func OpenshiftAPIServerService(hostedClusterNamespace string) *corev1.Service
- func RootCASecret(ns string) *corev1.Secret
- func SchedulerConfig(ns string) *corev1.ConfigMap
- func SchedulerDeployment(ns string) *appsv1.Deployment
- func ServiceAccountSigningKeySecret(ns string) *corev1.Secret
- type KubeconfigScope
Constants ¶
View Source
const ( KubeAPIServerServiceName = "kube-apiserver" OauthServiceName = "oauth-openshift" )
View Source
const (
// KubeconfigScopeLabel is used to indicate the usage scope of the kubeconfig
KubeconfigScopeLabel = "hypershift.openshift.io/kubeconfig"
)
Variables ¶
This section is empty.
Functions ¶
func AWSProviderConfig ¶
func ClusterPolicyControllerDeployment ¶
func ClusterPolicyControllerDeployment(ns string) *appsv1.Deployment
func ClusterSignerCASecret ¶
func CombinedCAConfigMap ¶
func EtcdClientSecret ¶
func EtcdCluster ¶
func EtcdCluster(ns string) *etcdv1.EtcdCluster
func EtcdOperatorDeployment ¶
func EtcdOperatorDeployment(ns string) *appsv1.Deployment
func EtcdOperatorRole ¶
func EtcdOperatorRoleBinding ¶
func EtcdOperatorRoleBinding(ns string) *rbacv1.RoleBinding
func EtcdOperatorServiceAccount ¶
func EtcdOperatorServiceAccount(ns string) *corev1.ServiceAccount
func EtcdPeerSecret ¶
func EtcdServerSecret ¶
func IngressCert ¶
func IngressDefaultIngressController ¶
func IngressDefaultIngressController() *operatorv1.IngressController
func KASAggregatorCertSecret ¶
func KASAuditConfig ¶
func KASDeployment ¶
func KASDeployment(controlPlaneNamespace string) *appsv1.Deployment
func KASEgressSelectorConfig ¶
func KASExternalKubeconfigSecret ¶
func KASExternalKubeconfigSecret(controlPlaneNamespace string, ref *hyperv1.KubeconfigSecretRef) *corev1.Secret
func KASOAuthMetadata ¶
func KASServerCertSecret ¶
func KASService ¶
func KASServiceCAPIKubeconfigSecret ¶
The client used by CAPI machine controller expects the kubeconfig to follow this naming convention https://github.com/kubernetes-sigs/cluster-api/blob/5c85a0a01ee44ecf7c8a3c3fdc867a88af87d73c/util/secret/secret.go#L29-L33
func KCMDeployment ¶
func KCMDeployment(ns string) *appsv1.Deployment
func KCMServiceServingCA ¶
func KonnectivityAgentDeployment ¶
func KonnectivityAgentDeployment(ns string) *appsv1.Deployment
func KonnectivityAgentSecret ¶
func KonnectivityServerDeployment ¶
func KonnectivityServerDeployment(ns string) *appsv1.Deployment
func KubeAPIServerService ¶
func MachineConfigServerCert ¶
func OAuthServerBrowserClient ¶
func OAuthServerBrowserClient() *oauthv1.OAuthClient
func OAuthServerChallengingClient ¶
func OAuthServerChallengingClient() *oauthv1.OAuthClient
func OAuthServerConfig ¶
func OAuthServerDeployment ¶
func OAuthServerDeployment(ns string) *appsv1.Deployment
func OAuthServerService ¶
func OLMPackageServerService ¶
func OauthAPIServerService ¶
func OauthServerRoute ¶
func OauthServerService ¶
func OpenShiftAPIServerAPIService ¶
func OpenShiftAPIServerAPIService(group string) *apiregistrationv1.APIService
func OpenShiftAPIServerAPIServiceGroups ¶
func OpenShiftAPIServerAPIServiceGroups() []string
func OpenShiftAPIServerDeployment ¶
func OpenShiftAPIServerDeployment(ns string) *appsv1.Deployment
func OpenShiftControllerManagerDeployment ¶
func OpenShiftControllerManagerDeployment(ns string) *appsv1.Deployment
func OpenShiftOAuthAPIServerAPIService ¶
func OpenShiftOAuthAPIServerAPIService(group string) *apiregistrationv1.APIService
func OpenShiftOAuthAPIServerAPIServiceGroups ¶
func OpenShiftOAuthAPIServerAPIServiceGroups() []string
func OpenShiftOAuthAPIServerDeployment ¶
func OpenShiftOAuthAPIServerDeployment(ns string) *appsv1.Deployment
func RootCASecret ¶
func SchedulerConfig ¶
func SchedulerDeployment ¶
func SchedulerDeployment(ns string) *appsv1.Deployment
Types ¶
type KubeconfigScope ¶
type KubeconfigScope string
const ( // KubeconfigScopeExternal means the kubeconfig is for use by cluster-external // clients KubeconfigScopeExternal KubeconfigScope = "external" // KubeconfigScopeLocal means the kubeconfig is for use by cluster-local // clients (e.g. the service network) KubeconfigScopeLocal KubeconfigScope = "local" // KubeconfigScopeBootstrap means the kubeconfig is passed via ignition to // worker nodes so they can bootstrap KubeconfigScopeBootstrap KubeconfigScope = "bootstrap" )
Click to show internal directories.
Click to hide internal directories.