templates

package
v1.0.12-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 12 Imported by: 43

Documentation

Index

Constants

View Source
const (
	KubeAPIClusterRole = `` /* 270-byte string literal not displayed */

	KubeAPIClusterRoleBinding = `` /* 312-byte string literal not displayed */

	SystemNodeClusterRoleBinding = `` /* 395-byte string literal not displayed */

	JobDeployerServiceAccount = `
apiVersion: v1
kind: ServiceAccount
metadata:
  name: rke-job-deployer
  namespace: kube-system`

	JobDeployerClusterRoleBinding = `` /* 269-byte string literal not displayed */

	DefaultPodSecurityPolicy = `` /* 502-byte string literal not displayed */

	DefaultPodSecurityRole = `` /* 213-byte string literal not displayed */

	DefaultPodSecurityRoleBinding = `` /* 470-byte string literal not displayed */

)
View Source
const (
	DisabledEncryptionProviderFile = `` /* 210-byte string literal not displayed */

	MultiKeyEncryptionProviderFile = `` /* 256-byte string literal not displayed */

	CustomEncryptionProviderFile = `apiVersion: apiserver.config.k8s.io/v1
kind: EncryptionConfiguration
{{.CustomConfig}}
`
)
View Source
const AddonJobTemplate = `` /* 1857-byte string literal not displayed */
View Source
const (
	AuthnWebhook = `` /* 318-byte string literal not displayed */

)
View Source
const VsphereCloudProviderTemplate = `` /* 2221-byte string literal not displayed */

Variables

This section is empty.

Functions

func CompileTemplateFromMap

func CompileTemplateFromMap(tmplt string, configMap interface{}) (string, error)

func GetKubednsStubDomains added in v0.3.0

func GetKubednsStubDomains(stubDomains map[string][]string) string

func GetVersionedTemplates added in v0.1.17

func GetVersionedTemplates(templateName string, data map[string]interface{}, k8sVersion string) (string, error)

func ToYAML added in v1.0.0

func ToYAML(v interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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