templates

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

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 = `` /* 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 (
	AuthnWebhook = `` /* 318-byte string literal not displayed */

)
View Source
const CalicoTemplateV112 = `` /* 13313-byte string literal not displayed */
View Source
const CalicoTemplateV113 = `` /* 15322-byte string literal not displayed */
View Source
const CalicoTemplateV115 = `` /* 19722-byte string literal not displayed */
View Source
const CanalTemplateV112 = `` /* 13896-byte string literal not displayed */
View Source
const CanalTemplateV113 = `` /* 15952-byte string literal not displayed */
View Source
const CanalTemplateV115 = `` /* 16442-byte string literal not displayed */
View Source
const CoreDNSTemplate = `` /* 6806-byte string literal not displayed */
View Source
const FlannelTemplate = `` /* 4425-byte string literal not displayed */
View Source
const FlannelTemplateV115 = `` /* 5316-byte string literal not displayed */
View Source
const KubeDNSTemplate = `` /* 8506-byte string literal not displayed */
View Source
const MetricsServerTemplate = `` /* 2884-byte string literal not displayed */
View Source
const NginxIngressTemplate = `` /* 7101-byte string literal not displayed */
View Source
const NginxIngressTemplateV0320Rancher1 = `` /* 8443-byte string literal not displayed */
View Source
const VsphereCloudProviderTemplate = `` /* 2221-byte string literal not displayed */
View Source
const WeaveTemplate = `` /* 5924-byte string literal not displayed */

Variables

View Source
var VersionedTemplate = map[string]map[string]string{
	"calico": map[string]string{
		"v1.15":   CalicoTemplateV115,
		"v1.14":   CalicoTemplateV113,
		"v1.13":   CalicoTemplateV113,
		"default": CalicoTemplateV112,
	},
	"canal": map[string]string{
		"v1.15":   CanalTemplateV115,
		"v1.14":   CanalTemplateV113,
		"v1.13":   CanalTemplateV113,
		"default": CanalTemplateV112,
	},
	"flannel": map[string]string{
		"v1.15":   FlannelTemplateV115,
		"default": FlannelTemplate,
	},
}

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