templates

package
v0.1.17-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	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 = `` /* 531-byte string literal not displayed */

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

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

)
View Source
const AddonJobTemplate = `` /* 1723-byte string literal not displayed */
View Source
const CalicoTemplateV112 = `` /* 13313-byte string literal not displayed */
View Source
const CalicoTemplateV113 = `` /* 15091-byte string literal not displayed */
View Source
const CanalTemplateV112 = `` /* 13896-byte string literal not displayed */
View Source
const CanalTemplateV113 = `` /* 15721-byte string literal not displayed */
View Source
const FlannelTemplate = `` /* 4330-byte string literal not displayed */
View Source
const KubeDNSTemplate = `` /* 7429-byte string literal not displayed */
View Source
const MetricsServerTemplate = `` /* 2884-byte string literal not displayed */
View Source
const NginxIngressTemplate = `` /* 6629-byte string literal not displayed */
View Source
const VsphereCloudProviderTemplate = `` /* 2221-byte string literal not displayed */
View Source
const WeaveTemplate = `` /* 5707-byte string literal not displayed */

Variables

View Source
var VersionedTemplate = map[string]map[string]string{
	"calico": map[string]string{
		"v1.13.1-rancher1-1":   CalicoTemplateV113,
		"v1.13.1-rancher1-1-1": CalicoTemplateV113,
		"default":              CalicoTemplateV112,
	},
	"canal": map[string]string{
		"v1.13.1-rancher1-1":   CanalTemplateV113,
		"v1.13.1-rancher1-1-1": CanalTemplateV113,
		"default":              CanalTemplateV112,
	},
}

Functions

func CompileTemplateFromMap

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

func GetVersionedTemplates added in v0.1.17

func GetVersionedTemplates(templateName string, k8sVersion string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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