Documentation ¶
Index ¶
- Variables
- func ExternalDnsResources(conf *config.Config, self *appsv1.Deployment, ...) []client.Object
- func GetExampleConfigs() []configStruct
- func GetTopLevelLabels() map[string]string
- func NewExternalDNSConfigMap(conf *config.Config, externalDnsConfig *ExternalDnsConfig) (*corev1.ConfigMap, string)
- func NginxIngressClass(conf *config.Config, self *appsv1.Deployment, ...) []client.Object
- func NginxIngressControllerResources(conf *config.Config, self *appsv1.Deployment, ...) []client.Object
- func WithPreferSystemNodes(spec *corev1.PodSpec) *corev1.PodSpec
- type ExternalDnsConfig
- type NginxIngressConfig
- type Provider
- type ServiceConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OldExternalDnsGks is a slice of GroupKinds that were previously used by ExternalDns. // If the manifests used by app routing's external dns removes a GroupKind be sure to add // it here to clean it up OldExternalDnsGks []schema.GroupKind )
View Source
var (
Providers = []Provider{PublicProvider, PrivateProvider}
)
Functions ¶
func ExternalDnsResources ¶
func ExternalDnsResources(conf *config.Config, self *appsv1.Deployment, externalDnsConfigs []*ExternalDnsConfig) []client.Object
ExternalDnsResources returns Kubernetes objects required for external dns
func GetExampleConfigs ¶
func GetExampleConfigs() []configStruct
func GetTopLevelLabels ¶
GetTopLevelLabels returns labels that every resource App Routing manages have
func NewExternalDNSConfigMap ¶
func NginxIngressClass ¶
func NginxIngressClass(conf *config.Config, self *appsv1.Deployment, ingressConfig *NginxIngressConfig) []client.Object
NginxIngressClass returns an IngressClass for the provided configuration
func NginxIngressControllerResources ¶
func NginxIngressControllerResources(conf *config.Config, self *appsv1.Deployment, ingressConfig *NginxIngressConfig) []client.Object
NginxIngressControllerResources returns Kubernetes objects required for the controller
Types ¶
type ExternalDnsConfig ¶
type ExternalDnsConfig struct {
TenantId, Subscription, ResourceGroup string
Provider Provider
DnsZoneResourceIDs []string
}
ExternalDnsConfig defines configuration options for required resources for external dns
type NginxIngressConfig ¶
type NginxIngressConfig struct { ControllerClass string // controller class which is equivalent to controller field of IngressClass ResourceName string // name given to all resources IcName string // IngressClass name ServiceConfig *ServiceConfig // service config that specifies details about the LB, defaults if nil }
NginxIngressConfig defines configuration options for required resources for an Ingress
func (*NginxIngressConfig) PodLabels ¶
func (n *NginxIngressConfig) PodLabels() map[string]string
type ServiceConfig ¶
ServiceConfig defines configuration options for required resources for a Service that goes with an Ingress
Click to show internal directories.
Click to hide internal directories.