mirror of https://github.com/k3s-io/k3s
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
528 lines
39 KiB
528 lines
39 KiB
// Code generated for package deploy by go-bindata DO NOT EDIT. (@generated)
|
|
// sources:
|
|
// manifests/ccm.yaml
|
|
// manifests/coredns.yaml
|
|
// manifests/local-storage.yaml
|
|
// manifests/metrics-server/aggregated-metrics-reader.yaml
|
|
// manifests/metrics-server/auth-delegator.yaml
|
|
// manifests/metrics-server/auth-reader.yaml
|
|
// manifests/metrics-server/metrics-apiservice.yaml
|
|
// manifests/metrics-server/metrics-server-deployment.yaml
|
|
// manifests/metrics-server/metrics-server-service.yaml
|
|
// manifests/metrics-server/resource-reader.yaml
|
|
// manifests/rolebindings.yaml
|
|
// manifests/runtimes.yaml
|
|
// manifests/traefik.yaml
|
|
//go:build !no_stage
|
|
// +build !no_stage
|
|
|
|
package deploy
|
|
|
|
import (
|
|
"bytes"
|
|
"compress/gzip"
|
|
"fmt"
|
|
"io"
|
|
"io/ioutil"
|
|
"os"
|
|
"path/filepath"
|
|
"strings"
|
|
"time"
|
|
)
|
|
|
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
|
if err != nil {
|
|
return nil, fmt.Errorf("Read %q: %v", name, err)
|
|
}
|
|
|
|
var buf bytes.Buffer
|
|
_, err = io.Copy(&buf, gz)
|
|
clErr := gz.Close()
|
|
|
|
if err != nil {
|
|
return nil, fmt.Errorf("Read %q: %v", name, err)
|
|
}
|
|
if clErr != nil {
|
|
return nil, err
|
|
}
|
|
|
|
return buf.Bytes(), nil
|
|
}
|
|
|
|
type asset struct {
|
|
bytes []byte
|
|
info os.FileInfo
|
|
}
|
|
|
|
type bindataFileInfo struct {
|
|
name string
|
|
size int64
|
|
mode os.FileMode
|
|
modTime time.Time
|
|
}
|
|
|
|
// Name return file name
|
|
func (fi bindataFileInfo) Name() string {
|
|
return fi.name
|
|
}
|
|
|
|
// Size return file size
|
|
func (fi bindataFileInfo) Size() int64 {
|
|
return fi.size
|
|
}
|
|
|
|
// Mode return file mode
|
|
func (fi bindataFileInfo) Mode() os.FileMode {
|
|
return fi.mode
|
|
}
|
|
|
|
// Mode return file modify time
|
|
func (fi bindataFileInfo) ModTime() time.Time {
|
|
return fi.modTime
|
|
}
|
|
|
|
// IsDir return file whether a directory
|
|
func (fi bindataFileInfo) IsDir() bool {
|
|
return fi.mode&os.ModeDir != 0
|
|
}
|
|
|
|
// Sys return file is sys mode
|
|
func (fi bindataFileInfo) Sys() interface{} {
|
|
return nil
|
|
}
|
|
|
|
var _ccmYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x94\x41\x8f\x13\x31\x0c\x85\xef\xf3\x2b\xa2\x1e\x91\xd2\x15\xe2\x82\xe6\x08\x07\xee\x2b\xc1\xdd\x4d\x1e\xdd\xd0\x4c\x1c\xd9\x4e\x61\xf9\xf5\x68\x3a\x5d\x51\x3a\xdb\xd2\x16\x10\x7b\x8b\xac\xf8\xf3\xf3\x73\x62\xaa\xe9\x13\x44\x13\x97\xde\xc9\x8a\xc2\x92\x9a\x3d\xb0\xa4\xef\x64\x89\xcb\x72\xf3\x56\x97\x89\xef\xb6\xaf\xbb\x4d\x2a\xb1\x77\xef\x73\x53\x83\xdc\x73\x46\x37\xc0\x28\x92\x51\xdf\x39\x57\x68\x40\xef\x36\x6f\xd4\x87\xcc\x2d\xfa\xc0\xc5\x84\x73\x86\xf8\x81\x0a\xad\x21\x9d\xb4\x0c\xed\x3b\xef\xa8\xa6\x0f\xc2\xad\xea\x98\xe8\x5d\x60\x96\x98\xca\x61\xbd\xce\x39\x81\x72\x93\x80\xfd\xa5\x0c\x52\x68\xe7\xdc\x16\xb2\xda\xc7\xd6\xb0\x09\x20\x20\xc3\xee\xd8\x6a\x1c\x8f\xb3\x1a\x8b\xc5\x1c\x89\x2d\x8a\x1d\x21\x0f\x50\x95\x2c\x3c\x5c\x0d\x2d\x1c\x8f\x65\x2e\x5e\x2d\xae\xc8\xbd\x53\x23\x6b\xba\x0b\x28\x64\x9b\xc2\x61\xec\x00\x3b\xe9\xbb\x08\xfc\xc4\x99\xf2\x38\x9e\xf0\x31\x27\x9d\x0e\x5f\x6f\x42\xcf\xb4\x5d\xeb\xdd\x9e\x45\x21\x70\x3b\x37\x99\x51\xef\x65\x86\xd2\x00\xad\x34\x93\xf7\x3b\x16\xd5\xaa\x73\x5a\x24\x0c\x5c\x14\xc7\xca\x9e\x9f\x6f\x4c\x1a\x78\x0b\x79\xdc\x3f\xe9\xe7\x1e\x60\x89\x95\x53\x31\xcd\x73\x07\x4f\xcd\xc4\xfb\xee\xf6\x1f\xfb\x2e\x95\x98\xca\xfa\xea\x8f\xcb\x19\xf7\xf8\x3c\xde\x7e\xea\xf2\x4c\xe5\xce\xb9\xf9\xaa\xb8\xa8\x8e\xb6\xd5\x17\x04\xdb\xed\x88\x09\xf1\x51\x21\x97\xe5\xba\x9f\xc3\xee\xdd\xa6\xad\xe0\xf5\x51\x0d\xc3\x7f\x71\xcc\x8f\x7c\x1f\x91\xb1\x26\xe3\xbf\x6a\xe0\xd4\x55\x7f\x54\xe0\xa5\x38\xf7\x87\x96\xa1\x58\x0a\x3b\xb2\x17\x50\x3c\x27\xee\x46\x4b\x7f\xf1\x12\xdf\x0c\x65\xec\xcd\x53\x4d\xe3\xf2\x39\x29\xe3\x9f\xf8\xfb\x23\x00\x00\xff\xff\xde\xc0\x02\x82\x7a\x07\x00\x00")
|
|
|
|
func ccmYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_ccmYaml,
|
|
"ccm.yaml",
|
|
)
|
|
}
|
|
|
|
func ccmYaml() (*asset, error) {
|
|
bytes, err := ccmYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "ccm.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _corednsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\xdf\x6f\xe3\xbe\x0d\x7f\xcf\x5f\x21\x18\xe8\xcb\x30\xa7\xcd\x8a\xbb\x75\x7a\xeb\x25\xe9\x5d\xb0\x36\x17\x24\xe9\x01\xc5\x30\x14\x8a\xcc\xc4\x5a\x65\x51\x93\xe4\xb4\xd9\xad\xff\xfb\x20\xff\x8a\x95\xb8\xbd\xb6\xbb\x6f\x5e\x62\x9b\x22\x29\x7e\x44\x7e\x48\x31\x2d\x7e\x80\xb1\x02\x15\x25\xdb\x41\xef\x41\xa8\x84\x92\x05\x98\xad\xe0\x70\xc9\x39\xe6\xca\xf5\x32\x70\x2c\x61\x8e\xd1\x1e\x21\x8a\x65\x40\x09\x47\x03\x89\xb2\xd5\xbb\xd5\x8c\x03\x25\x0f\xf9\x0a\x62\xbb\xb3\x0e\xb2\x5e\x1c\xc7\xbd\xb6\x69\xb3\x62\xbc\xcf\x72\x97\xa2\x11\xff\x61\x4e\xa0\xea\x3f\x5c\xd8\xbe\xc0\xd3\xc6\xe9\x50\xe6\xd6\x81\x99\xa3\x84\xc0\xa3\x64\x2b\x90\xd6\x3f\x91\xc2\x85\x51\xe0\xa0\x50\x5d\x21\x3a\xeb\x0c\xd3\x5a\xa8\x4d\xe9\x23\x4e\x60\xcd\x72\xe9\x6c\xb3\xd5\x72\x43\xb4\xde\xb1\xc9\x25\x58\xda\x8b\x09\xd3\xe2\xab\xc1\x5c\x17\x96\x63\x12\x45\x3d\x42\x0c\x58\xcc\x0d\x87\xea\x1b\xa8\x44\xa3\x50\x85\xb1\x98\xd8\x12\x94\xf2\x45\x63\x52\x3e\x34\xf1\xfb\xd7\x2d\x98\x55\xa5\x2b\x85\x75\xc5\xc3\x23\x73\x3c\x3d\xf6\x97\x08\xcb\x71\x0b\x66\x57\xe1\xf0\x8a\x77\x29\x7e\x69\xfd\xff\x42\xfb\x8b\x50\x89\x50\x9b\x00\x74\xa6\x14\xba\x42\xb3\x42\xbe\xcb\x64\x70\x18\x2c\x77\x98\xeb\x84\x39\xa0\x24\x72\x26\x87\xe8\xf7\x9f\x1d\x4a\x98\xc3\xba\xd8\x5f\x85\xe6\x2b\xb1\xf6\x08\x39\x4e\xac\x17\x2c\xdb\x7c\xf5\x2f\xe0\xae\x48\x8c\xce\x12\xf8\x70\xe2\xef\x01\x47\xb5\x16\x9b\x1b\xa6\x3f\x52\x4e\xf5\xf2\x21\x1a\x58\x0b\x09\x94\xfc\xb7\xc0\xb4\x4f\x3f\x9d\x93\x9f\xc5\xa3\xff\x81\x31\x68\x6c\xf3\x9a\x02\x93\x2e\x6d\x5e\x0d\xb0\x64\xd7\xbc\xed\x8f\x83\x9c\xfc\x1c\x5e\xdf\x2e\x96\xe3\xf9\xfd\xe8\xfb\xcd\xe5\x64\xfa\x7c\x42\x84\x8a\x59\x92\x98\x3e\x33\x9a\x11\xa1\x3f\x97\x0f\x7b\x4f\xa4\xa8\x00\x22\x94\x05\x9e\x1b\x68\x7d\x5f\x33\x29\x5d\x6a\x30\xdf\xa4\xdd\x56\x9a\xb5\xcf\xfb\x8d\xa2\x75\x96\x9c\x82\xe3\xa7\x15\x14\xa7\x53\x4c\xe0\x5b\xf1\xb9\xed\xd4\x39\x49\x3e\x9f\xb5\x3e\x18\x90\xc8\x12\x32\xf8\x64\xbb\xb7\xd0\xe1\x4c\x1b\xcc\xc0\xa5\x90\x5b\x42\xff\x36\xf8\x74\xde\x08\xd6\x68\x1e\x99\x49\x48\xbf\xdc\x89\x2f\x47\xb9\xed\x73\x54\xeb\x66\x09\x67\x3c\x05\x72\xbe\xdf\x81\x44\xd4\xbd\x70\x33\x2d\x19\x4b\x56\x4c\x32\xc5\xf7\xf8\x88\x4c\xa3\x71\x61\xa8\x3c\xb7\x0e\xb3\xd3\x3f\xf5\x3d\x1f\x18\x91\x94\xab\xcb\x0d\xbf\xba\xde\x33\x12\x98\xa3\x94\x63\x5a\xdb\x7d\xa1\x8f\x40\x4b\xdc\x65\xf0\x31\x1e\x3f\x28\xe1\x0b\x1b\x33\xad\xab\x25\xa5\xe2\x61\x61\x97\x86\x23\x9f\xa9\xa3\xe9\x22\xea\x59\x0d\x9c\x16\xec\xb6\x15\x7e\x7f\xdf\x84\x75\x68\x76\xd7\x22\x13\x8e\x12\x8f\xa4\xa7\x01\x07\x9b\x5d\xe9\xc3\xed\x34\x50\x32\x47\x29\x85\xda\xdc\x16\x84\x52\x12\x50\xfb\x0b\xad\x00\xcd\xd8\xd3\xad\x62\x5b\x26\x24\x5b\xf9\xaa\x18\x78\x73\x20\x81\x3b\x34\xe5\x9a\xcc\x13\xe4\x75\x2b\x86\xee\x28\x1c\x64\x5a\x36\x86\xdb\x40\x15\x27\x19\xe8\xbf\x84\x43\x1d\x69\x99\x64\x02\x8d\x70\xbb\xa1\x64\xd6\x4e\x4b\x48\x4a\x48\x63\x5e\xd2\x51\xcc\x8d\x70\x82\x33\x19\x55\x2a\x36\x60\x9c\xe9\xc1\xf9\x14\xd0\xa0\x04\xd3\x26\x65\xff\x8b\xc9\x03\xec\x3c\xe0\x95\xb9\xcb\x24\x41\x65\xbf\x2b\xb9\x8b\x5a\x25\x81\xda\x6b\xa2\xa1\x24\x1a\x3f\x09\xeb\x6c\x74\x64\x40\x61\x02\xb1\xa7\xd8\x03\x62\xe7\xa8\x9c\x41\x19\x6b\xc9\x14\xbc\xd1\x26\x21\xb0\x5e\x03\x77\x94\x44\x53\x5c\xf0\x14\x92\x5c\xc2\xdb\x5d\x66\xcc\x23\xf4\x3b\x7c\x79\x0f\x8b\x20\x21\x8e\x33\x16\x2d\x25\x52\xa8\xfc\xa9\x81\x59\xa3\xc4\xcd\x6e\xa1\x3d\x63\x0e\x51\xf9\x04\xf5\x8d\xb8\x0d\x7a\xc6\x9e\x16\x0f\xf0\x58\xa6\x5c\xfd\xab\x35\xff\xee\xa3\x0b\x9d\x78\x8a\xf3\xa5\xd1\x5a\xfd\x98\x82\xba\x55\x96\x39\x61\xd7\xa2\xcc\xdf\x11\x4e\xd1\xd5\x31\xb4\x96\x16\x09\x78\x1c\xc7\x0b\x09\xfe\x7a\x9a\x12\xe2\x4f\x94\x09\x05\xa6\xd1\x88\x8f\xf8\xa0\xfc\x89\x8c\x6d\x7c\xea\x9e\xfc\x5c\xdc\x2d\x96\xe3\x9b\xfb\xd1\xf8\xea\xf2\xf6\x7a\x79\x3f\x1f\x7f\x9d\x2c\x96\xf3\xbb\xe7\x13\xc3\x14\x4f\xc1\x9c\x66\xc2\x37\x1f\x48\xe2\xca\x46\xfd\x4f\x07\xfd\xc1\x59\x7f\x10\x85\x36\x67\xb9\x94\x33\x94\x82\xef\x28\x99\xac\xa7\xe8\x66\x06\x2c\x14\x8d\xb6\xfc\x05\xc3\x50\x03\x83\x27\x8d\x83\x30\x33\xc8\xd0\xec\x28\x19\xfc\xf5\xec\x46\x04\x9d\xe1\xdf\x39\xd8\xc3\xd5\x5c\xe7\x94\x0c\xce\xce\xb2\x4e\x1b\x81\x09\x66\x36\x96\x92\x7f\x90\x28\xf6\x2d\x20\xfa\x33\x89\x02\x16\xae\x5b\x71\x44\xfe\xd9\xa8\x6c\x51\xe6\x19\xdc\xf8\xfa\x0d\x92\xa5\x06\xd7\x4f\x00\x71\xb9\xa8\xe5\x3f\xf3\xeb\x67\xcc\xa5\x34\xe0\xf9\x20\x16\x96\xf8\x8a\xa6\xc4\x0f\x56\xc7\x86\x8b\x86\x10\xbf\xd3\x7e\xd5\x47\x7e\xed\xc6\x77\xa0\x20\x9c\x26\x7f\x66\x68\x1c\x25\xad\x16\x5a\xf7\x95\x70\xfb\xda\xa0\x43\x8e\x92\x92\xdb\xd1\xec\xbd\x76\x62\xc7\x75\xa7\xad\xe5\xf0\x15\x5b\x41\x63\xaf\xad\x65\xe0\x8c\xe0\xdd\x3b\x6b\x5b\x2b\x66\x1a\x4f\xde\xa8\x1c\x3c\xb9\x76\x06\x31\x29\xf1\x71\x66\xc4\x56\x48\xd8\xc0\xd8\x72\x26\x0b\x42\xa6\x7e\xe8\xb0\x6d\xd4\x39\xd3\x6c\x25\xa4\x70\x02\x0e\x72\x90\x25\x49\xf8\x21\x26\xd3\xf1\xf2\xfe\xcb\x64\x3a\xba\x5f\x8c\xe7\x3f\x26\xc3\x71\x20\x4e\x0c\xea\x43\x05\x26\x65\xc7\xc1\xcd\x11\xdd\x95\x90\x50\x4d\xb7\xe1\x31\x4a\xb1\x05\x05\xd6\xce\x0c\xae\xa0\x6d\x2f\x75\x4e\x7f\x05\x17\xba\xd0\x65\xbe\x1c\x8c\x90\xa4\x4a\x07\x4a\x2e\xce\x2e\xce\x82\xcf\x96\xa7\xe0\x41\xfe\xb6\x5c\xce\x5a\x02\xa1\x84\x13\x4c\x8e\x40\xb2\xdd\x02\x38\xaa\xc4\xd2\x70\x84\xd3\x60\x04\x26\x8d\x6c\xd0\x96\x39\x91\x01\xe6\x6e\x2f\x6c\xc9\x6c\xce\x39\x58\xbb\x4c\x0d\xd8\x14\x65\x12\x4a\xd7\x4c\xc8\xdc\x40\x4b\x7a\x1e\x0c\xc2\xe2\xdd\x50\x84\xe3\x73\x0b\x89\xc1\xc5\xe0\xc3\x48\xbc\x02\xc4\x5f\xfe\x60\x1c\x12\x65\x6b\x06\x1e\x95\x17\xaf\x4a\x50\x12\xc8\x3b\x08\x8c\xd7\x57\x9b\x10\xb7\xee\x96\x52\x40\xe1\x20\xb3\x87\x29\x5d\x8c\x04\x35\xab\x1e\x74\xb2\xf2\x08\x3a\x85\x95\x62\x73\x5f\xe8\xd4\x3c\x96\xbe\x91\x3b\xdf\x12\x5a\x7c\x44\xa4\x7e\x5e\xf1\xac\xc0\x64\x55\x83\x2f\xde\x0a\xab\x6b\x66\xc7\x68\xde\xea\xd9\x2f\xce\xe6\x47\xb7\xf4\xfd\xdd\xc6\xcf\x1c\x65\x7e\x46\x9e\x0b\xa3\x0e\xb1\xe5\x86\xe9\x17\x6f\xeb\x6f\x18\xf5\xeb\x49\xb6\x9a\x5c\x5b\x96\xde\x7a\x29\x08\x67\xf5\x2e\x9f\x95\x8f\xc9\x8c\xb6\xaf\xa9\xd3\xc5\xf3\x49\x5b\x68\x0f\xa4\xf7\xd7\x93\xc5\xb2\x58\xd2\x34\xaf\xf8\xa0\x35\xe9\x76\xcf\x39\xec\x50\x71\x47\xff\x79\x41\xa1\x6c\x1c\x71\x47\x8b\xd1\x61\x27\x3a\x54\x11\xfa\x8a\x65\x42\xee\xea\x22\x0c\x03\x98\xcc\xae\x2e\x6f\x26\xd7\x77\xb3\xef\xd7\x93\xe1\xdd\xf3\x49\xef\x7f\x01\x00\x00\xff\xff\x61\xf9\xe3\x68\xa9\x13\x00\x00")
|
|
|
|
func corednsYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_corednsYaml,
|
|
"coredns.yaml",
|
|
)
|
|
}
|
|
|
|
func corednsYaml() (*asset, error) {
|
|
bytes, err := corednsYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "coredns.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _localStorageYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\xdf\x6f\xdb\xb6\x13\x7f\xd7\x5f\x71\x5f\x7d\x97\x97\xa1\x94\x93\x0d\x58\x0a\xbe\x79\xb1\xd3\x06\x70\x6c\xc3\x76\x3b\x14\x45\x61\xd0\xd4\xd9\x66\x43\x91\x04\x49\xb9\xf5\xb2\xfc\xef\x03\x49\xd9\x91\x93\x34\x71\xb0\x4d\x2f\x82\x8e\x77\x9f\x3b\xde\xe7\x7e\x88\x19\xf1\x11\xad\x13\x5a\x51\xd8\x9c\x65\x37\x42\x95\x14\xa6\x68\x37\x82\x63\x97\x73\x5d\x2b\x9f\x55\xe8\x59\xc9\x3c\xa3\x19\x80\x62\x15\x52\x90\x9a\x33\x49\x0c\xf3\x6b\x62\xac\xde\x88\x60\x8f\x96\xb8\x64\x47\x58\x63\x98\xd4\x9d\x61\x1c\x29\xdc\xd4\x0b\x24\x6e\xeb\x3c\x56\x19\x21\x24\x6b\x7b\xb6\x0b\xc6\x0b\x56\xfb\xb5\xb6\xe2\x4f\xe6\x85\x56\xc5\xcd\x5b\x57\x08\xdd\xd9\xc7\x74\x21\x6b\xe7\xd1\x4e\xb4\xc4\xe3\x03\xb2\x41\xdb\xd6\x12\x1d\xcd\x08\x30\x23\xde\x59\x5d\x1b\x47\xe1\x73\x9e\x7f\xc9\x00\x2c\x3a\x5d\x5b\x8e\x51\xa2\x74\x89\x2e\x7f\x03\xb9\x09\x61\x39\x8f\xca\x6f\xb4\xac\x2b\xe4\x92\x89\x2a\x9e\x70\xad\x96\x62\x55\x31\x93\xf4\x74\xe9\x3a\x52\xaf\x22\xd4\x06\xed\x22\xc2\xac\xd0\x87\x43\x29\x5c\x7c\x7f\x63\x9e\xaf\xf3\x2f\x2f\xbb\x47\x55\x1a\x2d\x94\x7f\x32\x84\xbd\xbf\x43\x5f\x3f\x1f\x05\xbc\xc1\x80\x7a\x60\xc8\x2d\x32\x8f\x11\xf4\xe9\xf8\x9c\xd7\x96\xad\xb0\xa1\xe1\x31\x68\x73\xce\x25\x73\x0e\xdd\x71\x19\xf8\x47\xa4\xff\x2e\x54\x29\xd4\xea\x78\xee\x17\x42\x95\x59\x28\x80\x09\x2e\x83\xf2\xee\x7a\xcf\x38\xce\x00\x1e\x17\xdb\x31\x25\xe6\xea\xc5\x57\xe4\x3e\x56\xd9\x93\x2d\xf4\x5f\x35\x0e\x33\xc6\xdd\xa7\xab\x87\x46\xea\x6d\x85\xaf\xe8\xd9\x1f\xbb\x72\x06\x39\x8d\xb4\x27\xdd\xf7\x22\x70\xbe\x1d\x88\x4a\x78\x0a\xa7\x19\x80\xf3\x96\x79\x5c\x6d\x83\x16\x80\xdf\x1a\xa4\x30\xd1\x52\x0a\xb5\xfa\x60\x4a\xe6\x31\xca\x6d\x5b\x92\x54\x01\x2a\xf6\xfd\x83\x62\x1b\x26\x24\x5b\x48\xa4\x70\x16\xe0\x50\x22\xf7\xda\x26\x9d\x2a\x54\xcd\x80\x2d\x50\xba\x9d\x11\x33\xe6\x99\x6b\x78\xac\x8c\xdc\xbb\x68\xdf\x3f\x3c\xf2\x00\xe9\x25\x2c\x80\xdd\xed\xc3\x63\xac\xd0\x56\xf8\xed\x45\x28\xf6\x61\x4c\x66\x9e\x92\x44\xc2\xcc\x20\xdc\x0a\x2f\x38\x93\x79\xa3\xef\x0e\xb8\x1f\xbe\x8e\xf8\x98\x4a\x2d\xd1\xc6\xc2\x6c\x45\x0c\x40\xe0\x06\xb7\x14\xf2\x8b\xc6\x5f\xb7\x2c\xb5\x72\x23\x25\xb7\x79\x4b\x0b\x40\x9b\x60\xad\x2d\x85\xbc\xff\x5d\x38\xef\xf2\x27\x40\x62\xe4\xa1\x78\x8b\x40\xba\x55\xe8\x31\xf6\x1e\xd7\xca\x5b\x2d\x89\x91\x4c\xe1\x2b\x70\x01\x70\xb9\x44\xee\x29\xe4\x43\x3d\xe5\x6b\x2c\x6b\x89\xaf\x71\x5c\xb1\xd0\x72\xff\x96\xc7\x70\x0d\x26\x14\xda\x7d\x06\xc9\x4b\x7d\x90\x1e\x51\xb1\x55\x20\xf8\xe4\x76\xfa\x69\x3a\xeb\x5f\xcf\x7b\xfd\xcb\xee\x87\xc1\x6c\x3e\xe9\xbf\xbb\x9a\xce\x26\x9f\xee\x4e\x2c\x53\x7c\x8d\xb6\xf3\x34\x12\xdd\x9c\x16\xa7\xc5\x2f\x6f\xf3\x43\xc8\x71\x2d\xe5\x58\x4b\xc1\xb7\x14\xae\x96\x43\xed\xc7\x16\x1d\xee\x29\x0f\x11\x57\x15\x53\xe5\x3d\xe1\xe4\xa5\x50\x09\x38\xcf\xac\x6f\x7d\x13\x92\x36\x54\x4b\xd4\x41\xcf\x3b\x49\xda\xbc\x8a\xaf\x4e\xab\xbd\x46\xda\x2f\xd7\xa1\xfa\x5c\xdb\x77\x4a\x56\xb2\x20\x49\xa9\x95\xfb\x2a\xe8\x8f\x99\x5f\xd3\x03\x07\x7b\x0d\x54\x9b\xc7\x60\xe3\x51\x6f\x3e\xec\x5e\xf7\xa7\xe3\xee\x45\xbf\x05\xb6\x61\xb2\xc6\x4b\xab\x2b\x7a\xc0\xee\x52\xa0\x2c\x9b\xe1\xfd\x48\x9e\x7c\xef\xba\xbc\xd8\xcf\xb0\xac\x7d\xab\x57\x5c\x28\xc9\xaf\x99\x39\xf4\xf6\xa8\x64\x9a\xfc\x3e\x9c\xc3\x87\xeb\xf2\x7e\x22\x4f\x93\x3c\x4e\x8e\x67\x67\x72\x58\x50\x4a\x69\xdf\xee\xfa\x12\x97\xac\x96\xfe\x63\x8c\x75\x16\xc7\x6b\x1e\x2d\x52\x69\xb5\x57\xf0\x83\x5e\x12\x8e\x34\xc6\x24\x1e\x53\xc8\xbd\xad\x31\xcf\xda\x75\x0a\x4d\x1d\x07\x83\x56\x20\x29\x35\xcd\xba\xbd\xd6\x25\x52\xf8\x83\x09\x7f\xa9\xed\xa5\xb0\xce\x5f\x68\xe5\xea\x0a\x6d\x66\xd3\x7f\xd1\xae\xa6\x7b\x28\xd1\x63\x4c\x4c\xb3\x43\x77\x19\xcd\x1e\xfc\x63\x3e\xbb\x9a\xf6\xf5\xfb\x83\xad\xb4\x33\x6c\x95\x32\x85\xbf\x48\x4c\xc8\x6d\x43\x5d\x1c\x31\xa1\x40\xae\x99\xc9\xe9\xe7\x46\x7a\xbb\x27\x36\x9e\xe7\x34\xdf\x75\xf6\xb8\x3b\x7b\x3f\xbf\x1c\x4d\xe6\xc3\xd1\x70\x3e\xb8\x9a\xce\xfa\xbd\xf9\x70\xd4\xeb\x4f\xf3\x37\xf7\x36\x21\x3a\x97\xd3\xcf\xf9\xc9\xed\xce\x6e\x30\xba\xe8\x0e\xe6\xd3\xd9\x68\xd2\x7d\xd7\x8f\x28\x77\x27\xf1\x4f\x28\x3c\x77\xcd\x3b\x7d\xdf\xc5\xfd\xe6\xc3\xdf\x47\x13\xec\xff\xff\xd7\x59\x08\xd5\x71\xeb\xc4\x25\x7a\x20\x58\xa7\xd5\x75\x53\x0a\x0b\xa4\x82\xd3\xf3\xf3\x73\x20\x06\xf2\x9f\x6e\x3f\x8e\x06\xf3\xde\xd5\xe4\x2e\x31\xcf\xd7\x95\x2e\xe1\xfc\xf4\xb4\x7d\xd4\x29\x8a\x3c\xae\x41\x66\x4b\xfd\x4d\x1d\xe1\xc8\x56\x40\xec\xf2\x21\xfc\x1a\xa5\x41\x3b\xd6\x65\xb1\x65\x95\xdc\xc3\x3c\x20\x31\x88\x12\xcf\x63\x5d\x3e\xb9\x71\x13\xb5\x09\x8d\x98\x46\xa9\xbd\x56\x7f\x3c\xa2\x1f\x18\xc1\xeb\xc6\x72\x25\xac\xd5\x16\x4b\x22\xc5\xc2\x32\xbb\x25\x8b\xda\x6d\x17\xfa\x3b\x3d\x2b\x7e\xfd\xad\x38\x3b\x76\x2e\xff\x1d\x00\x00\xff\xff\xf6\x4c\xc2\x69\x1a\x0d\x00\x00")
|
|
|
|
func localStorageYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_localStorageYaml,
|
|
"local-storage.yaml",
|
|
)
|
|
}
|
|
|
|
func localStorageYaml() (*asset, error) {
|
|
bytes, err := localStorageYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "local-storage.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _metricsServerAggregatedMetricsReaderYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\xcf\x31\x6b\xf4\x30\x0c\xc6\xf1\xdd\x9f\x42\x78\x7e\x93\x97\x6e\xc5\x6b\x87\xee\x1d\xba\x94\x1b\x94\xf8\x21\x27\xce\xb1\x83\x24\xe7\x68\x3f\x7d\xb9\x70\xdc\x58\x68\x27\x0d\x7f\x7e\x0f\xe8\x22\x35\x27\x7a\x29\xdd\x1c\xfa\xd6\x0a\x02\x6f\xf2\x0e\x35\x69\x35\x91\x4e\x3c\x8f\xdc\xfd\xdc\x54\xbe\xd8\xa5\xd5\xf1\xf2\x6c\xa3\xb4\xff\xfb\x53\x58\xe1\x9c\xd9\x39\x05\xa2\xca\x2b\x12\xd9\xa7\x39\xd6\xc4\xcb\xa2\x58\xd8\x91\x87\x15\xae\x32\xdb\xa0\xe0\x0c\x0d\x44\x85\x27\x14\xbb\x11\xfa\x61\xfd\xb1\x30\x78\x1b\x76\xc1\x35\x51\x74\xed\x88\xbf\x71\xc8\xe2\x7f\x71\x9c\x57\xa9\x0f\xa8\xbd\xc0\x52\x18\x88\x37\x79\xd5\xd6\x37\x4b\xf4\x11\xef\x7f\xdd\x7d\x3c\x05\x22\x85\xb5\xae\x33\x8e\xbe\xb5\x6c\xf1\x1f\xc5\xda\x32\xec\xc8\x3b\x74\x3a\xd2\x02\xbf\x95\x22\x76\xdc\x2b\xfb\x7c\x8e\xa7\xf0\x1d\x00\x00\xff\xff\xe5\x1d\x7a\x17\x89\x01\x00\x00")
|
|
|
|
func metricsServerAggregatedMetricsReaderYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_metricsServerAggregatedMetricsReaderYaml,
|
|
"metrics-server/aggregated-metrics-reader.yaml",
|
|
)
|
|
}
|
|
|
|
func metricsServerAggregatedMetricsReaderYaml() (*asset, error) {
|
|
bytes, err := metricsServerAggregatedMetricsReaderYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "metrics-server/aggregated-metrics-reader.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _metricsServerAuthDelegatorYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x8e\x31\x4e\xc4\x40\x0c\x45\xfb\x39\xc5\x5c\x60\x82\xe8\x90\x3b\xa0\xa0\x5f\x24\x7a\x67\xf2\x59\x4c\x92\x71\x64\x7b\x22\xc1\xe9\xd1\x8a\x88\x06\xd8\xf6\x4b\xff\xbd\x57\x4a\x49\xbc\xc9\x0b\xcc\x45\x1b\x65\x1b\xb9\x0e\xdc\xe3\x4d\x4d\x3e\x39\x44\xdb\x30\xdf\xf9\x20\x7a\xb3\xdf\xa6\x59\xda\x44\xf9\x71\xe9\x1e\xb0\x93\x2e\x78\x90\x36\x49\x3b\xa7\x15\xc1\x13\x07\x53\xca\xb9\xf1\x0a\xca\x2b\xc2\xa4\x7a\x71\xd8\x0e\x23\xff\xf0\xc0\x4a\x17\x70\x99\xb0\xe0\xcc\xa1\x96\x4c\x17\x9c\xf0\x7a\x79\xf1\x26\x4f\xa6\x7d\xbb\x52\x90\x72\xfe\x15\xf0\xe3\xfb\x5b\xe0\x7d\x7c\x47\x0d\xa7\x54\x8e\xef\x33\x6c\x97\x8a\xfb\x5a\xb5\xb7\xf8\x27\xf7\x98\x7d\xe3\x0a\xca\x73\x1f\x51\xbe\xf9\xe9\x2b\x00\x00\xff\xff\xa5\xb5\x26\x22\x2f\x01\x00\x00")
|
|
|
|
func metricsServerAuthDelegatorYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_metricsServerAuthDelegatorYaml,
|
|
"metrics-server/auth-delegator.yaml",
|
|
)
|
|
}
|
|
|
|
func metricsServerAuthDelegatorYaml() (*asset, error) {
|
|
bytes, err := metricsServerAuthDelegatorYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "metrics-server/auth-delegator.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _metricsServerAuthReaderYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x7c\x8f\x3d\x4e\x04\x31\x0c\x46\xfb\x9c\x22\x17\xf0\x22\x3a\x94\x0e\x1a\xfa\x45\xa2\xf7\x64\x3e\xc0\xcc\x8e\x13\xd9\xce\x08\x38\x3d\x1a\xb4\xfc\x34\x4b\x6f\xbf\xef\x3d\x22\x4a\xdc\xe5\x11\xe6\xd2\xb4\x64\x9b\xb8\x1e\x78\xc4\x4b\x33\xf9\xe0\x90\xa6\x87\xe5\xc6\x0f\xd2\xae\xb6\xeb\xb4\x88\xce\x25\x1f\xdb\x09\x77\xa2\xb3\xe8\x73\x5a\x11\x3c\x73\x70\x49\x39\x2b\xaf\x28\x79\x45\x98\x54\x27\x87\x6d\x30\xda\x51\x64\xe0\x19\x76\x3e\xf1\xce\x15\x25\x2f\x63\x02\xf9\xbb\x07\xd6\x64\xed\x84\x23\x9e\x76\x08\x77\xb9\xb7\x36\xfa\x3f\x26\x29\xe7\x5f\x91\x9f\x5d\xbc\x05\x74\x6f\x20\xee\xf2\x67\x1c\x1a\x52\xbf\xde\xbf\x35\x7c\x4c\xaf\xa8\xe1\x25\xd1\x19\xf4\x00\xdb\xa4\xe2\xb6\xd6\x36\x34\x2e\xa4\x5c\xd6\xff\x0c\x00\x00\xff\xff\x2a\x39\xe6\xe4\x44\x01\x00\x00")
|
|
|
|
func metricsServerAuthReaderYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_metricsServerAuthReaderYaml,
|
|
"metrics-server/auth-reader.yaml",
|
|
)
|
|
}
|
|
|
|
func metricsServerAuthReaderYaml() (*asset, error) {
|
|
bytes, err := metricsServerAuthReaderYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "metrics-server/auth-reader.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _metricsServerMetricsApiserviceYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x44\x8e\x4d\x6a\xc4\x30\x0c\x85\xf7\x3e\x85\x2e\xe0\x74\xb2\x2b\xde\x75\x59\x68\x61\x20\x65\xf6\x1a\x8f\x3a\x88\xe0\x1f\x24\xd9\x90\xdb\x97\x30\x71\xba\x13\x7a\xef\xfb\x24\xef\xbd\xc3\xca\x37\x12\xe5\x92\x03\x60\x65\xa1\x27\xab\x09\x1a\x97\x3c\xad\xef\x3a\x71\x79\xeb\xb3\x5b\x39\x3f\x02\x7c\x5c\x3f\x17\x92\xce\x91\x5c\x22\xc3\x07\x1a\x06\x07\x90\x31\x51\x80\x3e\xdf\xc9\x70\x9e\x12\x99\x70\xd4\x03\x76\x5a\x29\xee\x25\x7d\x81\xfb\x38\x88\xa3\xe9\xf7\x88\xe4\x0c\xb4\x62\xa4\x00\x6b\xbb\x93\xd7\x4d\x8d\x92\x03\x78\x4a\x69\xf5\x44\x86\x1c\xa0\x8f\xdf\x8f\xf3\x0e\x80\xb3\x52\x6c\x42\xcb\xca\xf5\xe7\x6b\xb9\x91\xf0\xef\x16\xc0\xa4\xd1\x10\x5d\x85\x8b\xb0\x6d\xdf\x9c\x39\xb5\x14\x60\xbe\x5c\xfe\x65\x23\x7d\xad\xff\x02\x00\x00\xff\xff\x14\x74\xa9\x1b\x25\x01\x00\x00")
|
|
|
|
func metricsServerMetricsApiserviceYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_metricsServerMetricsApiserviceYaml,
|
|
"metrics-server/metrics-apiservice.yaml",
|
|
)
|
|
}
|
|
|
|
func metricsServerMetricsApiserviceYaml() (*asset, error) {
|
|
bytes, err := metricsServerMetricsApiserviceYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "metrics-server/metrics-apiservice.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _metricsServerMetricsServerDeploymentYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x55\x4f\x6f\xdb\xc8\x0f\xbd\xfb\x53\x10\xfe\x21\xb7\x9f\xe2\x3f\xdd\xb4\x85\x80\x1c\x0c\x5b\xad\x0b\x24\xa9\x61\x39\xbb\xc8\xc9\x98\x8c\xe8\x78\x90\xd1\xcc\x2c\x49\xb9\xd5\x16\xfd\xee\x8b\xb1\x52\x45\x4a\x93\xa2\x8b\xdd\xea\xa0\x03\xf9\xf8\xf8\xf4\x86\x23\x26\x49\x32\x50\xc1\xfc\x8e\xc4\xc6\xbb\x14\x0e\x93\xc1\xbd\x71\x45\x0a\x39\xd2\xc1\x68\x9c\x69\xed\x2b\x27\x83\x12\x45\x15\x4a\x54\x3a\x00\x70\xaa\xc4\x14\x4a\x14\x32\x9a\x13\x46\x3a\x20\x3d\x84\x39\x28\x8d\x29\xdc\x57\xb7\x98\x70\xcd\x82\xe5\xe0\x69\x07\x15\x02\x8f\xda\x36\x0b\x0c\xd6\xd7\x25\xfe\xab\x16\x00\x56\xdd\xa2\xe5\x58\x09\x70\xff\x96\x13\x15\xc2\x77\xe5\x1c\x50\x47\x04\xe1\xc1\x44\x29\x4b\xc3\xe2\xa9\xbe\x30\xa5\x91\x14\xc6\x03\x00\x16\x52\x82\x77\x75\xc3\x23\x75\xc0\x14\xd6\xde\x5a\xe3\xee\xae\x43\xa1\x04\x8f\x71\xea\x46\x1a\x28\x40\xa9\x3e\x5f\x3b\x75\x50\xc6\xaa\x5b\x8b\x29\x4c\x22\x1d\x5a\xd4\xe2\xa9\xc1\x94\x4a\xf4\xfe\xa2\xa3\xf3\x65\xa5\x00\x82\x65\xb0\x2d\x7d\xd7\x99\xf8\xbc\xe0\x4e\x7c\x6c\xaf\xc1\x8f\x5a\x00\x7c\x33\x24\x3e\x81\x8c\x27\x23\xf5\xdc\x2a\xe6\xab\x23\xff\xb0\x71\x37\x71\xbe\xc0\x44\x93\x11\xa3\x95\x1d\x3e\xe0\xb9\x37\x1e\x57\x2f\x0b\x12\x6f\x91\x94\x18\xef\x3a\xaa\x12\xb8\xc7\x3a\x85\xe1\xfc\x81\x75\x56\x14\xde\xf1\x47\x67\xeb\x61\x8b\x01\xf0\x21\x56\x7a\x4a\x61\x98\x7d\x36\x2c\x3c\xfc\x8e\xe0\xa8\x8d\xbc\xc5\xd3\x38\x0f\xe4\x50\x90\x4f\x8d\x1f\x69\xef\x84\xbc\x4d\x82\x55\x0e\x7f\x92\x13\x00\x77\x3b\xd4\x92\xc2\xf0\xca\xe7\x7a\x8f\x45\x65\xf1\xe7\x5b\x96\x8a\x05\xe9\xbf\xe8\x75\xf0\xb6\x2a\xb1\xb5\xeb\x7f\x50\x46\x8f\xc1\x38\x90\x32\x00\x7b\xf8\x84\xa0\x95\x03\x56\x3b\xb4\x35\x54\x8c\xb0\x23\x5f\x26\xac\x29\xce\x18\x98\x52\xdd\x21\x83\x72\xc5\xc8\x13\x10\xaa\x22\xf1\xce\xd6\x10\x4d\x51\xc6\x21\xf1\xe0\xdb\x27\x35\x93\x24\x65\x48\x0a\x43\xad\x3a\x2c\x83\xd4\x0b\x43\x29\x7c\xf9\xfa\x10\x7c\xac\x4d\x9f\x14\x3f\x7b\xea\xd0\x88\x48\x61\x78\xf2\x25\xbf\xc9\x37\xd9\xe5\x76\x91\xbd\x9b\x5d\x5f\x6c\xb6\xeb\xec\xfd\x87\x7c\xb3\xbe\xf9\x7a\x42\xca\xe9\x3d\xd2\xa8\x34\x44\x9e\xb0\x48\xfa\x54\xe9\x61\x7c\xfa\xe6\x74\xfc\x68\x9a\xa2\xbb\xde\x0c\x25\x89\x46\x92\xa8\xfc\x7c\x24\x65\xe8\x65\x18\x75\x45\x98\x04\x4f\x72\x3e\x19\x4f\xcf\xc6\xbd\x6c\x3c\x39\x8b\x92\x04\xc2\x1d\x52\x6c\xad\x8a\x82\x90\x39\x89\x97\x9e\xcf\x4f\xbe\xac\xd6\xd9\xbb\x6c\xbd\xce\x16\xdb\xd9\x62\xb1\xce\xf2\x7c\xbb\xb9\x59\x65\xf9\xd7\x93\x67\x79\x2a\xc6\xe6\x9a\xb0\x28\xa9\xf8\xd8\xb6\x07\x6c\xbe\x2c\x21\x64\x6f\xab\x78\x19\xce\x27\x67\xdc\x43\x88\xe5\x44\x9b\xb0\x47\x4a\xb8\x32\x82\x7c\xbe\xb9\xc8\xb7\xd9\x7c\xb1\xcc\xe2\x3b\x9f\x6d\xff\xf8\xb0\x59\x6e\x67\x59\xbe\x9d\x9e\xbd\xde\xbe\x9f\x5f\x6e\xf3\xe5\xec\xd5\xdb\xdf\xfe\xff\x88\x5b\xff\x14\xea\x09\xdb\x64\xfa\xf6\x1b\x6e\x7a\xf6\xfa\x25\xb6\x17\x51\x1d\xb6\xf9\x72\x36\x5f\xce\xa6\xe3\xed\xea\xe3\xc5\xcd\xe4\xd5\xf8\xec\x39\xb2\xef\x40\xad\x0b\xd1\x9c\x8a\x34\x76\xce\x38\x06\xff\xac\x90\xa5\x17\x03\xd0\xa1\x4a\x61\x32\x1e\x97\xbd\x68\x89\xa5\xa7\x3a\x85\x37\xe3\x4b\xd3\x26\xe2\x51\xf4\xa6\xa6\x99\xda\xbd\x48\xe0\x4e\x75\x3b\xdf\x2b\x4f\x12\xb9\xbb\x23\x13\x7f\x8f\x5e\xbc\xf6\x36\x85\xcd\x7c\xd5\x51\xac\x0a\xe3\x90\x79\x45\xfe\x16\xbb\x12\x23\xfd\x7b\x94\xbe\xea\xa0\x64\x9f\xc2\x28\x56\xd5\x7f\xf5\x33\xc7\xa6\x4f\x35\x01\xb0\xde\x63\x54\xbb\xdc\x6c\x56\x79\x27\x63\x9c\x11\xa3\xec\x02\xad\xaa\x73\xd4\xde\x15\xdc\x6c\xb0\x96\x10\xc9\xf8\xa2\x4d\x4d\x3b\x29\x31\x25\xfa\x4a\xda\xdc\xa4\x93\xe3\x4a\x6b\x64\xde\xec\x09\x79\xef\x6d\xd1\xcf\xee\x94\xb1\x15\x61\x27\xfb\xaa\xcd\x5a\x73\xc0\x7f\xec\x44\x2c\xfa\x05\x46\xbc\xfe\x81\x13\x93\xf1\x2f\xb7\xe2\xf8\xeb\x89\xab\xd4\x3b\xc1\xcf\xd2\x9f\x66\x55\xc4\x2d\xb7\xf6\x5e\xde\x19\x8b\xcd\x86\x4d\x41\xa8\xc2\x2e\xac\x72\x33\xbe\xf2\x2e\xc2\x9e\x4f\x5e\x33\xd2\xf1\x06\x74\x3f\x47\x59\xeb\x3f\xad\xc8\x1c\x8c\xc5\x3b\xcc\x58\x2b\x7b\x5c\xbc\x29\xec\x94\xe5\x47\x8e\x66\xbf\x5c\xc6\xa5\xf2\xcc\xcd\x78\xba\x0c\xa0\x59\x3f\xab\xe6\xc8\xe2\x7f\xf6\xef\x00\x00\x00\xff\xff\x19\x64\x02\x7a\x34\x0a\x00\x00")
|
|
|
|
func metricsServerMetricsServerDeploymentYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_metricsServerMetricsServerDeploymentYaml,
|
|
"metrics-server/metrics-server-deployment.yaml",
|
|
)
|
|
}
|
|
|
|
func metricsServerMetricsServerDeploymentYaml() (*asset, error) {
|
|
bytes, err := metricsServerMetricsServerDeploymentYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "metrics-server/metrics-server-deployment.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _metricsServerMetricsServerServiceYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x8e\x3f\x4b\x04\x31\x10\xc5\xfb\x7c\x8a\x61\xfb\x28\xe2\x15\x92\x56\xb1\x13\x16\x4e\xec\xe7\x72\x4f\x0d\x9b\x6c\xc2\xcc\xec\xc2\x7e\x7b\xd9\xdc\x59\x1c\x5c\x97\xbc\x79\x7f\x7e\xde\x7b\xc7\x2d\x7d\x41\x34\xd5\x39\xd0\xfa\xe4\xa6\x34\x9f\x03\x1d\x21\x6b\x8a\x70\x05\xc6\x67\x36\x0e\x8e\x68\xe6\x82\x40\x05\x26\x29\xaa\x57\xc8\x0a\xb9\xca\xda\x38\x22\xd0\xb4\x9c\xe0\x75\x53\x43\x71\x44\x99\x4f\xc8\xba\x27\xa9\x5f\x64\x86\x41\x1f\x52\x7d\xbc\x34\x0d\x1f\x37\x55\xc3\x1d\x63\xcc\x8b\x1a\xa4\x3b\xd2\xbe\x30\x98\x2c\x18\x9c\x36\xc4\xbd\x58\x91\x11\xad\xca\x75\xe4\x45\x3d\xb7\x76\x87\xb1\x55\xb1\x4e\xe2\xfb\x33\xd0\xe1\xf0\xdc\x23\x17\x92\x5f\xb3\xa6\xfd\xdf\xa4\x5a\x8d\x35\x07\xfa\x7c\x1d\xbb\x62\x2c\x3f\xb0\xb1\xa7\xfe\x7d\xa9\xbd\x73\x49\x79\x1b\x6b\x4e\x71\x0b\x34\x0a\xbe\x21\x6f\x0b\xe7\xa3\x71\x9c\xdc\x5f\x00\x00\x00\xff\xff\x7b\xf5\x71\x2a\x57\x01\x00\x00")
|
|
|
|
func metricsServerMetricsServerServiceYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_metricsServerMetricsServerServiceYaml,
|
|
"metrics-server/metrics-server-service.yaml",
|
|
)
|
|
}
|
|
|
|
func metricsServerMetricsServerServiceYaml() (*asset, error) {
|
|
bytes, err := metricsServerMetricsServerServiceYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "metrics-server/metrics-server-service.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _metricsServerResourceReaderYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x90\x41\x4b\xc4\x30\x10\x85\xef\xf9\x15\xc3\xde\xd3\xc5\x9b\xe4\xa6\x1e\xbc\xaf\xe0\x3d\x4d\x9f\xbb\x63\xdb\xa4\xcc\x4c\x2a\xfa\xeb\xa5\xb6\x2a\xb8\xb0\x2c\x78\x4a\x98\xe4\x7d\x8f\xf9\xbc\xf7\x2e\x4e\xfc\x0c\x51\x2e\x39\x90\xb4\x31\x35\xb1\xda\xa9\x08\x7f\x44\xe3\x92\x9b\xfe\x56\x1b\x2e\xfb\xf9\xc6\xf5\x9c\xbb\x40\x0f\x43\x55\x83\x1c\xca\x00\x37\xc2\x62\x17\x2d\x06\x47\x94\xe3\x88\x40\xfa\xae\x86\x31\x8c\x30\xe1\xa4\x5e\x21\x33\xc4\x49\x1d\xa0\xc1\x79\x8a\x13\x3f\x4a\xa9\x93\x2e\x09\x4f\xbb\x9d\x23\x12\x68\xa9\x92\xb0\xcd\x72\xe9\xa0\xfb\x0d\xe0\x88\x66\x48\xbb\x3d\x1d\x61\xd7\x31\xa6\xd2\xe9\x2f\xec\x1c\xb2\x9c\x03\xeb\x7a\x79\x8b\x96\x4e\xee\x7f\x26\xee\x39\x77\x9c\x8f\xd7\x0b\x29\x03\x0e\x78\x59\xbe\x7d\xaf\x73\xa1\xd2\x11\x9d\xbb\xbf\x5c\xa0\xb5\x7d\x45\xb2\x2f\xe9\x6b\xf6\x09\x32\x73\xc2\x5d\x4a\xa5\x66\xfb\x89\xff\xc9\xad\x63\x9d\x62\x42\xa0\xbe\xb6\xf0\x2b\xdf\x7d\x06\x00\x00\xff\xff\xdb\x55\x9e\x61\x2a\x02\x00\x00")
|
|
|
|
func metricsServerResourceReaderYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_metricsServerResourceReaderYaml,
|
|
"metrics-server/resource-reader.yaml",
|
|
)
|
|
}
|
|
|
|
func metricsServerResourceReaderYaml() (*asset, error) {
|
|
bytes, err := metricsServerResourceReaderYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "metrics-server/resource-reader.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _rolebindingsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x94\x31\x6f\xe3\x30\x0c\x85\x77\xfd\x0a\x21\xbb\x72\x38\xdc\x72\xf0\xd8\x0e\xdd\x03\xb4\xbb\x2c\xb1\x09\x6b\x59\x14\x48\x39\x41\xfb\xeb\x0b\xc7\x4e\xd2\xc4\x76\xe0\xb4\xe9\x66\x0b\xe2\xfb\x48\xbe\x07\xd9\x84\x2f\xc0\x82\x14\x0b\xcd\xa5\x75\x4b\xdb\xe4\x0d\x31\x7e\xd8\x8c\x14\x97\xd5\x7f\x59\x22\xfd\xd9\xfe\x55\x15\x46\x5f\xe8\xc7\xd0\x48\x06\x5e\x51\x80\x07\x8c\x1e\xe3\x5a\xd5\x90\xad\xb7\xd9\x16\x4a\xeb\x68\x6b\x28\x74\xd5\x94\x60\x6c\x42\x01\xde\x02\x9b\xf6\x37\x40\x36\xd6\xd7\x18\x15\x53\x80\x15\xbc\xb6\xb7\x6d\xc2\x27\xa6\x26\x5d\x21\x2b\xad\x07\xe0\x23\x47\xde\x25\x43\x5d\x1c\xf5\x13\xf6\x0c\x69\xca\x37\x70\x59\x0a\x65\x6e\x82\x3c\x0b\xf0\xc4\x14\x4a\x19\x63\xd4\xf7\xb7\x35\xb2\xa6\x43\xfb\xff\xc4\x38\x8a\x99\x29\x04\x60\xc5\x4d\x80\xb3\xc6\xa5\xad\x30\x7a\xb1\x50\x5a\x33\x08\x35\xec\xa0\x3f\x8b\xe4\x41\x94\xd6\x5b\xe0\xb2\x3f\x5a\x43\x9e\x59\x6b\x6b\x90\x64\xdd\xa5\x40\x40\xc9\xfb\x8f\x9d\xcd\x6e\x33\xa2\x15\x21\xef\x88\x2b\x8c\xeb\x7e\xde\x31\xf1\xee\x4e\xa2\x80\x0e\xf7\x04\xa3\x5d\xb7\x0c\x87\x9e\x6f\x45\x8e\x10\x20\xfa\x44\x18\x73\xa7\x9d\xc8\x4f\x69\xb6\x0b\x39\x69\xff\xd0\xc5\xe9\xcc\x4f\x98\x79\xff\xb0\x9f\x03\x4e\x49\x6f\x67\x9c\xc7\xb8\x48\xfb\x75\xc0\xfd\x63\xff\x35\x07\xa6\x4d\xf0\x64\xe4\x07\x49\x1b\xc6\x60\x76\xa8\x7e\xcd\xf8\x91\x71\xee\x67\xfa\x50\xfc\xdc\xf0\xae\x72\x8f\x18\x3a\x79\x78\x1d\xe6\xb5\xf1\x19\x00\x00\xff\xff\x20\xa2\xda\xb0\x09\x06\x00\x00")
|
|
|
|
func rolebindingsYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_rolebindingsYaml,
|
|
"rolebindings.yaml",
|
|
)
|
|
}
|
|
|
|
func rolebindingsYaml() (*asset, error) {
|
|
bytes, err := rolebindingsYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "rolebindings.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _runtimesYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\xd0\x31\x8e\x84\x30\x0c\x05\xd0\x3e\xa7\xc8\x05\xc2\x6a\xbb\x55\xda\xbd\xc1\x14\xd3\x5b\xc4\x02\x8b\xc4\xa0\x38\xc0\x1c\x7f\x04\x1a\x26\x40\xed\xf2\x7f\x4b\xef\x4b\x86\x89\x9e\x98\x85\x46\xf6\x96\xc7\x80\xcd\xf0\x27\x0d\x8d\x3f\xcb\xaf\x19\x88\x83\xb7\x8f\x99\x0b\x25\xfc\x8f\x20\x62\x12\x16\x08\x50\xc0\x1b\x6b\x19\x12\x7a\xcb\x0b\x05\x02\xd3\x03\x87\x88\xf9\x9b\x9d\x73\x46\x87\x76\xf8\x9a\x30\x53\x42\x2e\x10\xef\x3b\xd7\xa3\xc6\x68\x9b\x67\xae\x2b\x7b\xd2\x60\xe3\xcc\x50\xa8\xad\xf2\x51\x68\xe0\x12\xa9\xeb\x4b\xb5\x3f\x59\x85\x9e\xe8\xf4\x8e\x3d\x69\xb0\xeb\x2a\x55\xdd\x82\x0a\x0a\x92\x30\x74\x78\x92\x8f\x46\x8d\xcf\x37\x3c\xab\xd1\xdb\xfd\x8a\x6f\xcd\x3b\x00\x00\xff\xff\xc7\xad\x48\x21\x9f\x03\x00\x00")
|
|
|
|
func runtimesYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_runtimesYaml,
|
|
"runtimes.yaml",
|
|
)
|
|
}
|
|
|
|
func runtimesYaml() (*asset, error) {
|
|
bytes, err := runtimesYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "runtimes.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
var _traefikYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x91\xd1\x6f\xd3\x30\x10\xc6\xdf\xf3\x57\x9c\x22\xf5\x09\x39\xe9\x86\x10\x53\xde\x4a\x97\xc1\x04\x8c\xa9\xe9\x40\x7b\xaa\x5c\xfb\xda\x58\x75\x6c\xeb\x7c\xa9\x08\x63\xff\x3b\x72\xdb\x6d\x9d\x04\x02\x21\x78\x4b\xce\x77\xbf\xef\xee\xfb\x84\x10\x99\x0c\xe6\x33\x52\x34\xde\x55\xd0\xa2\xed\x0a\x25\x99\x2d\x16\xc6\x97\xdb\x93\x6c\x63\x9c\xae\xe0\x1d\xda\x6e\xda\x4a\xe2\xac\x43\x96\x5a\xb2\xac\x32\x00\x27\x3b\xac\x80\x49\xe2\xca\x6c\x84\x22\x7d\xa8\xc5\x20\x15\x56\xb0\xe9\x97\x28\xe2\x10\x19\xbb\x2c\x06\x54\x69\x44\x25\x48\x05\x2d\x73\x88\x55\x59\x8e\xee\xde\xdf\xbc\xa9\x67\x57\xf5\xbc\x6e\x16\x93\xeb\xcb\xfb\x51\x19\x59\xb2\x51\xe5\xae\x31\x96\x47\x70\x71\xfa\xaa\x18\x17\x2f\x5f\xf4\x61\xf7\x31\x2e\x78\xfd\x2d\xfb\x87\x07\xfc\xbf\xe5\x7f\xb6\x38\x40\x44\x4e\x50\x80\xb5\xf5\x4b\x69\x8b\xbd\xd8\x39\xae\x64\x6f\x79\x86\x6b\x13\x99\x86\x0a\xf2\xd1\x5d\x73\xdb\xcc\xeb\x8f\x8b\xf3\xfa\x62\x72\xf3\x61\xbe\x98\xd5\x6f\x2f\x9b\xf9\xec\x76\x31\x9b\x7c\xb9\x1f\xe5\x19\xc0\x56\xda\x1e\xe3\xd4\x3b\x46\xc7\x15\x7c\x17\x3b\xae\xc6\x60\xfd\xd0\xa5\xd2\xee\x1f\x20\x78\x3d\x71\xce\xa7\x25\xbd\x8b\x0f\x55\x80\x40\xbe\x43\x6e\xb1\x8f\xc9\xb4\xe0\xd3\x95\xf9\xd9\xf8\xec\x34\xff\x45\x4b\x54\x24\x03\x56\x90\x33\xf5\xb8\x6f\x0a\xe4\xb7\x46\x23\x3d\x62\x93\x83\xe4\x90\x31\x5e\xba\x35\x61\x3c\xd6\xeb\x97\xd6\xc4\x16\x75\x83\xb4\x35\x0a\x9f\x5e\x00\xd0\xc9\xa5\x45\x9d\x62\xe9\xf1\x40\x36\x9e\x0c\x0f\x53\x2b\x63\xbc\xda\x45\x96\xef\xcd\x12\xca\xf6\x91\x91\x84\x22\xc3\x46\x49\xbb\x5f\xc5\x74\x72\xfd\xc8\x24\x0c\x3e\x1a\xf6\x3b\x2f\x49\x3a\xd5\x22\x95\x9d\x21\xf2\x84\x5a\x58\xb3\x24\x49\x83\x38\x44\xf5\x70\x2f\xcb\x75\x05\xf9\x69\x71\x32\x2e\x5e\xef\x6b\xec\x2d\xd2\xb1\x6f\x02\x36\x98\x90\xd3\x83\xf4\x44\x6b\xef\xe2\x27\x67\x87\x07\x88\x0f\x69\xc2\x53\x05\x79\xfd\xd5\x44\x8e\xf9\xb3\x41\xe7\x35\x0a\xf2\x16\x8b\x27\xa7\x92\xb7\xca\x3b\x26\x6f\x45\xb0\xd2\xe1\x6f\x58\x00\xb8\x5a\xa1\x4a\x71\x5d\xf9\x46\xb5\xa8\x7b\x8b\x7f\x26\xd3\xc9\xe4\xdc\xdf\xf3\xe3\xf3\xe8\x4c\xb8\x90\x9d\xb1\xc3\xb5\xb7\x46\x25\xdd\x6b\xc2\x15\xd2\x79\x2f\x6d\xc3\x52\x6d\xf2\xec\x47\x00\x00\x00\xff\xff\x8b\x2f\x7c\x7b\x6c\x04\x00\x00")
|
|
|
|
func traefikYamlBytes() ([]byte, error) {
|
|
return bindataRead(
|
|
_traefikYaml,
|
|
"traefik.yaml",
|
|
)
|
|
}
|
|
|
|
func traefikYaml() (*asset, error) {
|
|
bytes, err := traefikYamlBytes()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
info := bindataFileInfo{name: "traefik.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
|
|
a := &asset{bytes: bytes, info: info}
|
|
return a, nil
|
|
}
|
|
|
|
// Asset loads and returns the asset for the given name.
|
|
// It returns an error if the asset could not be found or
|
|
// could not be loaded.
|
|
func Asset(name string) ([]byte, error) {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
if f, ok := _bindata[cannonicalName]; ok {
|
|
a, err := f()
|
|
if err != nil {
|
|
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
|
|
}
|
|
return a.bytes, nil
|
|
}
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
}
|
|
|
|
// MustAsset is like Asset but panics when Asset would return an error.
|
|
// It simplifies safe initialization of global variables.
|
|
func MustAsset(name string) []byte {
|
|
a, err := Asset(name)
|
|
if err != nil {
|
|
panic("asset: Asset(" + name + "): " + err.Error())
|
|
}
|
|
|
|
return a
|
|
}
|
|
|
|
// AssetInfo loads and returns the asset info for the given name.
|
|
// It returns an error if the asset could not be found or
|
|
// could not be loaded.
|
|
func AssetInfo(name string) (os.FileInfo, error) {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
if f, ok := _bindata[cannonicalName]; ok {
|
|
a, err := f()
|
|
if err != nil {
|
|
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
|
|
}
|
|
return a.info, nil
|
|
}
|
|
return nil, fmt.Errorf("AssetInfo %s not found", name)
|
|
}
|
|
|
|
// AssetNames returns the names of the assets.
|
|
func AssetNames() []string {
|
|
names := make([]string, 0, len(_bindata))
|
|
for name := range _bindata {
|
|
names = append(names, name)
|
|
}
|
|
return names
|
|
}
|
|
|
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
|
var _bindata = map[string]func() (*asset, error){
|
|
"ccm.yaml": ccmYaml,
|
|
"coredns.yaml": corednsYaml,
|
|
"local-storage.yaml": localStorageYaml,
|
|
"metrics-server/aggregated-metrics-reader.yaml": metricsServerAggregatedMetricsReaderYaml,
|
|
"metrics-server/auth-delegator.yaml": metricsServerAuthDelegatorYaml,
|
|
"metrics-server/auth-reader.yaml": metricsServerAuthReaderYaml,
|
|
"metrics-server/metrics-apiservice.yaml": metricsServerMetricsApiserviceYaml,
|
|
"metrics-server/metrics-server-deployment.yaml": metricsServerMetricsServerDeploymentYaml,
|
|
"metrics-server/metrics-server-service.yaml": metricsServerMetricsServerServiceYaml,
|
|
"metrics-server/resource-reader.yaml": metricsServerResourceReaderYaml,
|
|
"rolebindings.yaml": rolebindingsYaml,
|
|
"runtimes.yaml": runtimesYaml,
|
|
"traefik.yaml": traefikYaml,
|
|
}
|
|
|
|
// AssetDir returns the file names below a certain
|
|
// directory embedded in the file by go-bindata.
|
|
// For example if you run go-bindata on data/... and data contains the
|
|
// following hierarchy:
|
|
//
|
|
// data/
|
|
// foo.txt
|
|
// img/
|
|
// a.png
|
|
// b.png
|
|
//
|
|
// then AssetDir("data") would return []string{"foo.txt", "img"}
|
|
// AssetDir("data/img") would return []string{"a.png", "b.png"}
|
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
|
|
// AssetDir("") will return []string{"data"}.
|
|
func AssetDir(name string) ([]string, error) {
|
|
node := _bintree
|
|
if len(name) != 0 {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
pathList := strings.Split(cannonicalName, "/")
|
|
for _, p := range pathList {
|
|
node = node.Children[p]
|
|
if node == nil {
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
}
|
|
}
|
|
}
|
|
if node.Func != nil {
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
}
|
|
rv := make([]string, 0, len(node.Children))
|
|
for childName := range node.Children {
|
|
rv = append(rv, childName)
|
|
}
|
|
return rv, nil
|
|
}
|
|
|
|
type bintree struct {
|
|
Func func() (*asset, error)
|
|
Children map[string]*bintree
|
|
}
|
|
|
|
var _bintree = &bintree{nil, map[string]*bintree{
|
|
"ccm.yaml": &bintree{ccmYaml, map[string]*bintree{}},
|
|
"coredns.yaml": &bintree{corednsYaml, map[string]*bintree{}},
|
|
"local-storage.yaml": &bintree{localStorageYaml, map[string]*bintree{}},
|
|
"metrics-server": &bintree{nil, map[string]*bintree{
|
|
"aggregated-metrics-reader.yaml": &bintree{metricsServerAggregatedMetricsReaderYaml, map[string]*bintree{}},
|
|
"auth-delegator.yaml": &bintree{metricsServerAuthDelegatorYaml, map[string]*bintree{}},
|
|
"auth-reader.yaml": &bintree{metricsServerAuthReaderYaml, map[string]*bintree{}},
|
|
"metrics-apiservice.yaml": &bintree{metricsServerMetricsApiserviceYaml, map[string]*bintree{}},
|
|
"metrics-server-deployment.yaml": &bintree{metricsServerMetricsServerDeploymentYaml, map[string]*bintree{}},
|
|
"metrics-server-service.yaml": &bintree{metricsServerMetricsServerServiceYaml, map[string]*bintree{}},
|
|
"resource-reader.yaml": &bintree{metricsServerResourceReaderYaml, map[string]*bintree{}},
|
|
}},
|
|
"rolebindings.yaml": &bintree{rolebindingsYaml, map[string]*bintree{}},
|
|
"runtimes.yaml": &bintree{runtimesYaml, map[string]*bintree{}},
|
|
"traefik.yaml": &bintree{traefikYaml, map[string]*bintree{}},
|
|
}}
|
|
|
|
// RestoreAsset restores an asset under the given directory
|
|
func RestoreAsset(dir, name string) error {
|
|
data, err := Asset(name)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
info, err := AssetInfo(name)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
|
|
if err != nil {
|
|
return err
|
|
}
|
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
|
if err != nil {
|
|
return err
|
|
}
|
|
err = os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
|
|
if err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// RestoreAssets restores an asset under the given directory recursively
|
|
func RestoreAssets(dir, name string) error {
|
|
children, err := AssetDir(name)
|
|
// File
|
|
if err != nil {
|
|
return RestoreAsset(dir, name)
|
|
}
|
|
// Dir
|
|
for _, child := range children {
|
|
err = RestoreAssets(dir, filepath.Join(name, child))
|
|
if err != nil {
|
|
return err
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func _filePath(dir, name string) string {
|
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
|
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
|
|
}
|