mirror of https://github.com/kubernetes/kops.git
Merge pull request #15678 from johngmyers/no-configstore
v1alpha3: remove redundant ConfigStore
This commit is contained in:
commit
dbba2ae410
|
|
@ -802,8 +802,7 @@ spec:
|
||||||
system (etcd vs S3)
|
system (etcd vs S3)
|
||||||
type: string
|
type: string
|
||||||
configStore:
|
configStore:
|
||||||
description: ConfigStore is the VFS path to where the configuration
|
description: ConfigStore is unused.
|
||||||
(Cluster, InstanceGroups etc) is stored
|
|
||||||
type: string
|
type: string
|
||||||
containerRuntime:
|
containerRuntime:
|
||||||
description: Container runtime to use for Kubernetes
|
description: Container runtime to use for Kubernetes
|
||||||
|
|
@ -5721,7 +5720,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
masters:
|
masters:
|
||||||
description: ControlPlane is not used.
|
description: Masters is not used.
|
||||||
type: string
|
type: string
|
||||||
nodes:
|
nodes:
|
||||||
description: Nodes is not used.
|
description: Nodes is not used.
|
||||||
|
|
|
||||||
|
|
@ -62,9 +62,9 @@ func (s *s3PublicAclStrategy) GetACL(ctx context.Context, p vfs.Path, cluster *k
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
config, err := url.Parse(cluster.Spec.ConfigStore)
|
config, err := url.Parse(cluster.Spec.ConfigBase)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", fmt.Errorf("unable to parse: %q", fileRepository)
|
return "", fmt.Errorf("unable to parse: %q", cluster.Spec.ConfigBase)
|
||||||
}
|
}
|
||||||
|
|
||||||
// We are checking that the path defined is not the state store, if it is
|
// We are checking that the path defined is not the state store, if it is
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ func Test_Strategy(t *testing.T) {
|
||||||
|
|
||||||
cluster := &kops.Cluster{
|
cluster := &kops.Cluster{
|
||||||
Spec: kops.ClusterSpec{
|
Spec: kops.ClusterSpec{
|
||||||
ConfigStore: "s3://my_state_store/cluster",
|
ConfigBase: "s3://my_state_store/cluster",
|
||||||
Assets: &kops.AssetsSpec{
|
Assets: &kops.AssetsSpec{
|
||||||
FileRepository: values.String("https://s3.amazonaws.com/test"),
|
FileRepository: values.String("https://s3.amazonaws.com/test"),
|
||||||
},
|
},
|
||||||
|
|
@ -65,7 +65,7 @@ func Test_In_StateStore(t *testing.T) {
|
||||||
|
|
||||||
cluster := &kops.Cluster{
|
cluster := &kops.Cluster{
|
||||||
Spec: kops.ClusterSpec{
|
Spec: kops.ClusterSpec{
|
||||||
ConfigStore: "s3://my_state_store/cluster",
|
ConfigBase: "s3://my_state_store/cluster",
|
||||||
Assets: &kops.AssetsSpec{
|
Assets: &kops.AssetsSpec{
|
||||||
FileRepository: values.String("https://s3.amazonaws.com/my_state_store/opps"),
|
FileRepository: values.String("https://s3.amazonaws.com/my_state_store/opps"),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,6 @@ type ClusterSpec struct {
|
||||||
SecretStore string `json:"secretStore,omitempty"`
|
SecretStore string `json:"secretStore,omitempty"`
|
||||||
// KeyStore is the VFS path to where SSL keys and certificates are stored
|
// KeyStore is the VFS path to where SSL keys and certificates are stored
|
||||||
KeyStore string `json:"keyStore,omitempty"`
|
KeyStore string `json:"keyStore,omitempty"`
|
||||||
// ConfigStore is the VFS path to where the configuration (Cluster, InstanceGroups etc) is stored
|
|
||||||
ConfigStore string `json:"configStore,omitempty"`
|
|
||||||
// DNSZone is the DNS zone we should use when configuring DNS
|
// DNSZone is the DNS zone we should use when configuring DNS
|
||||||
// This is because some clouds let us define a managed zone foo.bar, and then have
|
// This is because some clouds let us define a managed zone foo.bar, and then have
|
||||||
// kubernetes.dev.foo.bar, without needing to define dev.foo.bar as a hosted zone.
|
// kubernetes.dev.foo.bar, without needing to define dev.foo.bar as a hosted zone.
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,8 @@ type ClusterSpec struct {
|
||||||
SecretStore string `json:"secretStore,omitempty"`
|
SecretStore string `json:"secretStore,omitempty"`
|
||||||
// KeyStore is the VFS path to where SSL keys and certificates are stored
|
// KeyStore is the VFS path to where SSL keys and certificates are stored
|
||||||
KeyStore string `json:"keyStore,omitempty"`
|
KeyStore string `json:"keyStore,omitempty"`
|
||||||
// ConfigStore is the VFS path to where the configuration (Cluster, InstanceGroups etc) is stored
|
// ConfigStore is unused.
|
||||||
|
// +k8s:conversion-gen=false
|
||||||
ConfigStore string `json:"configStore,omitempty"`
|
ConfigStore string `json:"configStore,omitempty"`
|
||||||
// DNSZone is the DNS zone we should use when configuring DNS
|
// DNSZone is the DNS zone we should use when configuring DNS
|
||||||
// This is because some clouds let us define a managed zone foo.bar, and then have
|
// This is because some clouds let us define a managed zone foo.bar, and then have
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,9 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
type TopologySpec struct {
|
type TopologySpec struct {
|
||||||
// ControlPlane is not used.
|
// Masters is not used.
|
||||||
// +k8s:conversion-gen=false
|
// +k8s:conversion-gen=false
|
||||||
ControlPlane string `json:"masters,omitempty"`
|
Masters string `json:"masters,omitempty"`
|
||||||
|
|
||||||
// Nodes is not used.
|
// Nodes is not used.
|
||||||
// +k8s:conversion-gen=false
|
// +k8s:conversion-gen=false
|
||||||
|
|
|
||||||
|
|
@ -2364,7 +2364,7 @@ func autoConvert_v1alpha2_ClusterSpec_To_kops_ClusterSpec(in *ClusterSpec, out *
|
||||||
// INFO: in.Topology opted out of conversion generation
|
// INFO: in.Topology opted out of conversion generation
|
||||||
out.SecretStore = in.SecretStore
|
out.SecretStore = in.SecretStore
|
||||||
out.KeyStore = in.KeyStore
|
out.KeyStore = in.KeyStore
|
||||||
out.ConfigStore = in.ConfigStore
|
// INFO: in.ConfigStore opted out of conversion generation
|
||||||
out.DNSZone = in.DNSZone
|
out.DNSZone = in.DNSZone
|
||||||
if in.DNSControllerGossipConfig != nil {
|
if in.DNSControllerGossipConfig != nil {
|
||||||
in, out := &in.DNSControllerGossipConfig, &out.DNSControllerGossipConfig
|
in, out := &in.DNSControllerGossipConfig, &out.DNSControllerGossipConfig
|
||||||
|
|
@ -2713,7 +2713,6 @@ func autoConvert_kops_ClusterSpec_To_v1alpha2_ClusterSpec(in *kops.ClusterSpec,
|
||||||
out.KubernetesVersion = in.KubernetesVersion
|
out.KubernetesVersion = in.KubernetesVersion
|
||||||
out.SecretStore = in.SecretStore
|
out.SecretStore = in.SecretStore
|
||||||
out.KeyStore = in.KeyStore
|
out.KeyStore = in.KeyStore
|
||||||
out.ConfigStore = in.ConfigStore
|
|
||||||
out.DNSZone = in.DNSZone
|
out.DNSZone = in.DNSZone
|
||||||
if in.DNSControllerGossipConfig != nil {
|
if in.DNSControllerGossipConfig != nil {
|
||||||
in, out := &in.DNSControllerGossipConfig, &out.DNSControllerGossipConfig
|
in, out := &in.DNSControllerGossipConfig, &out.DNSControllerGossipConfig
|
||||||
|
|
@ -7161,7 +7160,7 @@ func Convert_kops_TerraformSpec_To_v1alpha2_TerraformSpec(in *kops.TerraformSpec
|
||||||
}
|
}
|
||||||
|
|
||||||
func autoConvert_v1alpha2_TopologySpec_To_kops_TopologySpec(in *TopologySpec, out *kops.TopologySpec, s conversion.Scope) error {
|
func autoConvert_v1alpha2_TopologySpec_To_kops_TopologySpec(in *TopologySpec, out *kops.TopologySpec, s conversion.Scope) error {
|
||||||
// INFO: in.ControlPlane opted out of conversion generation
|
// INFO: in.Masters opted out of conversion generation
|
||||||
// INFO: in.Nodes opted out of conversion generation
|
// INFO: in.Nodes opted out of conversion generation
|
||||||
if in.Bastion != nil {
|
if in.Bastion != nil {
|
||||||
in, out := &in.Bastion, &out.Bastion
|
in, out := &in.Bastion, &out.Bastion
|
||||||
|
|
|
||||||
|
|
@ -68,8 +68,6 @@ type ClusterSpec struct {
|
||||||
SecretStore string `json:"secretStore,omitempty"`
|
SecretStore string `json:"secretStore,omitempty"`
|
||||||
// KeyStore is the VFS path to where SSL keys and certificates are stored
|
// KeyStore is the VFS path to where SSL keys and certificates are stored
|
||||||
KeyStore string `json:"keyStore,omitempty"`
|
KeyStore string `json:"keyStore,omitempty"`
|
||||||
// ConfigStore is the VFS path to where the configuration (Cluster, InstanceGroups etc) is stored
|
|
||||||
ConfigStore string `json:"configStore,omitempty"`
|
|
||||||
// DNSZone is the DNS zone we should use when configuring DNS
|
// DNSZone is the DNS zone we should use when configuring DNS
|
||||||
// This is because some clouds let us define a managed zone foo.bar, and then have
|
// This is because some clouds let us define a managed zone foo.bar, and then have
|
||||||
// kubernetes.dev.foo.bar, without needing to define dev.foo.bar as a hosted zone.
|
// kubernetes.dev.foo.bar, without needing to define dev.foo.bar as a hosted zone.
|
||||||
|
|
|
||||||
|
|
@ -2593,7 +2593,6 @@ func autoConvert_v1alpha3_ClusterSpec_To_kops_ClusterSpec(in *ClusterSpec, out *
|
||||||
out.KubernetesVersion = in.KubernetesVersion
|
out.KubernetesVersion = in.KubernetesVersion
|
||||||
out.SecretStore = in.SecretStore
|
out.SecretStore = in.SecretStore
|
||||||
out.KeyStore = in.KeyStore
|
out.KeyStore = in.KeyStore
|
||||||
out.ConfigStore = in.ConfigStore
|
|
||||||
out.DNSZone = in.DNSZone
|
out.DNSZone = in.DNSZone
|
||||||
if in.DNSControllerGossipConfig != nil {
|
if in.DNSControllerGossipConfig != nil {
|
||||||
in, out := &in.DNSControllerGossipConfig, &out.DNSControllerGossipConfig
|
in, out := &in.DNSControllerGossipConfig, &out.DNSControllerGossipConfig
|
||||||
|
|
@ -2927,7 +2926,6 @@ func autoConvert_kops_ClusterSpec_To_v1alpha3_ClusterSpec(in *kops.ClusterSpec,
|
||||||
out.KubernetesVersion = in.KubernetesVersion
|
out.KubernetesVersion = in.KubernetesVersion
|
||||||
out.SecretStore = in.SecretStore
|
out.SecretStore = in.SecretStore
|
||||||
out.KeyStore = in.KeyStore
|
out.KeyStore = in.KeyStore
|
||||||
out.ConfigStore = in.ConfigStore
|
|
||||||
out.DNSZone = in.DNSZone
|
out.DNSZone = in.DNSZone
|
||||||
if in.DNSControllerGossipConfig != nil {
|
if in.DNSControllerGossipConfig != nil {
|
||||||
in, out := &in.DNSControllerGossipConfig, &out.DNSControllerGossipConfig
|
in, out := &in.DNSControllerGossipConfig, &out.DNSControllerGossipConfig
|
||||||
|
|
|
||||||
|
|
@ -179,9 +179,9 @@ func (b *StorageAclBuilder) Build(c *fi.CloudupModelBuilderContext) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if len(readablePaths) != 0 {
|
if len(readablePaths) != 0 {
|
||||||
p, err := vfs.Context.BuildVfsPath(b.Cluster.Spec.ConfigStore)
|
p, err := vfs.Context.BuildVfsPath(b.Cluster.Spec.ConfigBase)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("cannot parse VFS path %q: %v", b.Cluster.Spec.ConfigStore, err)
|
return fmt.Errorf("cannot parse VFS path %q: %v", b.Cluster.Spec.ConfigBase, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
gcsPath, ok := p.(*vfs.GSPath)
|
gcsPath, ok := p.(*vfs.GSPath)
|
||||||
|
|
|
||||||
|
|
@ -506,7 +506,7 @@ func (b *PolicyBuilder) AddS3Permissions(p *Policy) (*Policy, error) {
|
||||||
for _, p := range []string{
|
for _, p := range []string{
|
||||||
b.Cluster.Spec.KeyStore,
|
b.Cluster.Spec.KeyStore,
|
||||||
b.Cluster.Spec.SecretStore,
|
b.Cluster.Spec.SecretStore,
|
||||||
b.Cluster.Spec.ConfigStore,
|
b.Cluster.Spec.ConfigBase,
|
||||||
} {
|
} {
|
||||||
if p == "" {
|
if p == "" {
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ func TestPolicyGeneration(t *testing.T) {
|
||||||
b := &PolicyBuilder{
|
b := &PolicyBuilder{
|
||||||
Cluster: &kops.Cluster{
|
Cluster: &kops.Cluster{
|
||||||
Spec: kops.ClusterSpec{
|
Spec: kops.ClusterSpec{
|
||||||
ConfigStore: "s3://kops-tests/iam-builder-test.k8s.local",
|
ConfigBase: "s3://kops-tests/iam-builder-test.k8s.local",
|
||||||
IAM: &kops.IAMSpec{
|
IAM: &kops.IAMSpec{
|
||||||
AllowContainerRegistry: x.AllowContainerRegistry,
|
AllowContainerRegistry: x.AllowContainerRegistry,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/additionalobjects.example.com
|
configBase: memfs://tests/additionalobjects.example.com
|
||||||
configStore: memfs://tests/additionalobjects.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/bastionuserdata.example.com
|
configBase: memfs://clusters.example.com/bastionuserdata.example.com
|
||||||
configStore: memfs://clusters.example.com/bastionuserdata.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/cas-priority-expander-custom.example.com
|
configBase: memfs://clusters.example.com/cas-priority-expander-custom.example.com
|
||||||
configStore: memfs://clusters.example.com/cas-priority-expander-custom.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/cas-priority-expander.example.com
|
configBase: memfs://clusters.example.com/cas-priority-expander.example.com
|
||||||
configStore: memfs://clusters.example.com/cas-priority-expander.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/complex.example.com
|
configBase: memfs://clusters.example.com/complex.example.com
|
||||||
configStore: memfs://clusters.example.com/complex.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/compress.example.com
|
configBase: memfs://clusters.example.com/compress.example.com
|
||||||
configStore: memfs://clusters.example.com/compress.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/containerd.example.com
|
configBase: memfs://clusters.example.com/containerd.example.com
|
||||||
configStore: memfs://clusters.example.com/containerd.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/containerd.example.com
|
configBase: memfs://clusters.example.com/containerd.example.com
|
||||||
configStore: memfs://clusters.example.com/containerd.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/123.example.com
|
configBase: memfs://clusters.example.com/123.example.com
|
||||||
configStore: memfs://clusters.example.com/123.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/docker.example.com
|
configBase: memfs://clusters.example.com/docker.example.com
|
||||||
configStore: memfs://clusters.example.com/docker.example.com
|
|
||||||
containerRuntime: docker
|
containerRuntime: docker
|
||||||
containerd:
|
containerd:
|
||||||
configOverride: |
|
configOverride: |
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/existing-iam.example.com
|
configBase: memfs://tests/existing-iam.example.com
|
||||||
configStore: memfs://tests/existing-iam.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/existingsg.example.com
|
configBase: memfs://clusters.example.com/existingsg.example.com
|
||||||
configStore: memfs://clusters.example.com/existingsg.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/externallb.example.com
|
configBase: memfs://clusters.example.com/externallb.example.com
|
||||||
configStore: memfs://clusters.example.com/externallb.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/externalpolicies.example.com
|
configBase: memfs://clusters.example.com/externalpolicies.example.com
|
||||||
configStore: memfs://clusters.example.com/externalpolicies.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/ha.example.com
|
configBase: memfs://tests/ha.example.com
|
||||||
configStore: memfs://tests/ha.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ spec:
|
||||||
cloudProvider: gce
|
cloudProvider: gce
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/ha-gce.example.com
|
configBase: memfs://tests/ha-gce.example.com
|
||||||
configStore: memfs://tests/ha-gce.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal.example.com
|
configBase: memfs://tests/minimal.example.com
|
||||||
configStore: memfs://tests/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@ spec:
|
||||||
skipNodesWithSystemPods: true
|
skipNodesWithSystemPods: true
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal.example.com
|
configBase: memfs://tests/minimal.example.com
|
||||||
configStore: memfs://tests/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal.example.com
|
configBase: memfs://tests/minimal.example.com
|
||||||
configStore: memfs://tests/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal.example.com
|
configBase: memfs://tests/minimal.example.com
|
||||||
configStore: memfs://tests/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal.example.com
|
configBase: memfs://tests/minimal.example.com
|
||||||
configStore: memfs://tests/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal.example.com
|
configBase: memfs://tests/minimal.example.com
|
||||||
configStore: memfs://tests/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal.example.com
|
configBase: memfs://tests/minimal.example.com
|
||||||
configStore: memfs://tests/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal-etcd.example.com
|
configBase: memfs://clusters.example.com/minimal-etcd.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal-etcd.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal-ipv6.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal-ipv6.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal-ipv6.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal-ipv6.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/this.is.truly.a.really.really.long.cluster-name.minimal.example.com
|
configBase: memfs://clusters.example.com/this.is.truly.a.really.really.long.cluster-name.minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/this.is.truly.a.really.really.long.cluster-name.minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal-warmpool.example.com
|
configBase: memfs://clusters.example.com/minimal-warmpool.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal-warmpool.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ spec:
|
||||||
cloudProvider: gce
|
cloudProvider: gce
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal-gce.example.com
|
configBase: memfs://tests/minimal-gce.example.com
|
||||||
configStore: memfs://tests/minimal-gce.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: gce
|
cloudProvider: gce
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal-gce.example.com
|
configBase: memfs://tests/minimal-gce.example.com
|
||||||
configStore: memfs://tests/minimal-gce.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: gce
|
cloudProvider: gce
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal-gce-ilb.example.com
|
configBase: memfs://tests/minimal-gce-ilb.example.com
|
||||||
configStore: memfs://tests/minimal-gce-ilb.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: gce
|
cloudProvider: gce
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal-gce-with-a-very-very-very-very-very-long-name.example.com
|
configBase: memfs://tests/minimal-gce-with-a-very-very-very-very-very-long-name.example.com
|
||||||
configStore: memfs://tests/minimal-gce-with-a-very-very-very-very-very-long-name.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ spec:
|
||||||
cloudProvider: gce
|
cloudProvider: gce
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal-gce-with-a-very-very-very-very-very-long-name.example.com
|
configBase: memfs://tests/minimal-gce-with-a-very-very-very-very-very-long-name.example.com
|
||||||
configStore: memfs://tests/minimal-gce-with-a-very-very-very-very-very-long-name.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: gce
|
cloudProvider: gce
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal-gce-plb.example.com
|
configBase: memfs://tests/minimal-gce-plb.example.com
|
||||||
configStore: memfs://tests/minimal-gce-plb.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ spec:
|
||||||
cloudProvider: gce
|
cloudProvider: gce
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal-gce-private.example.com
|
configBase: memfs://tests/minimal-gce-private.example.com
|
||||||
configStore: memfs://tests/minimal-gce-private.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.k8s.local
|
configBase: memfs://clusters.example.com/minimal.k8s.local
|
||||||
configStore: memfs://clusters.example.com/minimal.k8s.local
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.k8s.local
|
configBase: memfs://clusters.example.com/minimal.k8s.local
|
||||||
configStore: memfs://clusters.example.com/minimal.k8s.local
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ spec:
|
||||||
cloudProvider: hetzner
|
cloudProvider: hetzner
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/minimal.example.com
|
configBase: memfs://tests/minimal.example.com
|
||||||
configStore: memfs://tests/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ spec:
|
||||||
cloudProvider: scaleway
|
cloudProvider: scaleway
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://tests/scw-minimal.k8s.local
|
configBase: memfs://tests/scw-minimal.k8s.local
|
||||||
configStore: memfs://tests/scw-minimal.k8s.local
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/mixedinstances.example.com
|
configBase: memfs://clusters.example.com/mixedinstances.example.com
|
||||||
configStore: memfs://clusters.example.com/mixedinstances.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/mixedinstances.example.com
|
configBase: memfs://clusters.example.com/mixedinstances.example.com
|
||||||
configStore: memfs://clusters.example.com/mixedinstances.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/nthimdsprocessor.longclustername.example.com
|
configBase: memfs://clusters.example.com/nthimdsprocessor.longclustername.example.com
|
||||||
configStore: memfs://clusters.example.com/nthimdsprocessor.longclustername.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/nthimdsprocessor.longclustername.example.com
|
configBase: memfs://clusters.example.com/nthimdsprocessor.longclustername.example.com
|
||||||
configStore: memfs://clusters.example.com/nthimdsprocessor.longclustername.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/private-shared-ip.example.com
|
configBase: memfs://clusters.example.com/private-shared-ip.example.com
|
||||||
configStore: memfs://clusters.example.com/private-shared-ip.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/private-shared-subnet.example.com
|
configBase: memfs://clusters.example.com/private-shared-subnet.example.com
|
||||||
configStore: memfs://clusters.example.com/private-shared-subnet.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privatecalico.example.com
|
configBase: memfs://clusters.example.com/privatecalico.example.com
|
||||||
configStore: memfs://clusters.example.com/privatecalico.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privatecanal.example.com
|
configBase: memfs://clusters.example.com/privatecanal.example.com
|
||||||
configStore: memfs://clusters.example.com/privatecanal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privatecilium.example.com
|
configBase: memfs://clusters.example.com/privatecilium.example.com
|
||||||
configStore: memfs://clusters.example.com/privatecilium.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privatecilium.example.com
|
configBase: memfs://clusters.example.com/privatecilium.example.com
|
||||||
configStore: memfs://clusters.example.com/privatecilium.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privatecilium.example.com
|
configBase: memfs://clusters.example.com/privatecilium.example.com
|
||||||
configStore: memfs://clusters.example.com/privatecilium.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privateciliumadvanced.example.com
|
configBase: memfs://clusters.example.com/privateciliumadvanced.example.com
|
||||||
configStore: memfs://clusters.example.com/privateciliumadvanced.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privatedns1.example.com
|
configBase: memfs://clusters.example.com/privatedns1.example.com
|
||||||
configStore: memfs://clusters.example.com/privatedns1.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privatedns2.example.com
|
configBase: memfs://clusters.example.com/privatedns2.example.com
|
||||||
configStore: memfs://clusters.example.com/privatedns2.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privateflannel.example.com
|
configBase: memfs://clusters.example.com/privateflannel.example.com
|
||||||
configStore: memfs://clusters.example.com/privateflannel.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/privatekopeio.example.com
|
configBase: memfs://clusters.example.com/privatekopeio.example.com
|
||||||
configStore: memfs://clusters.example.com/privatekopeio.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/sharedsubnet.example.com
|
configBase: memfs://clusters.example.com/sharedsubnet.example.com
|
||||||
configStore: memfs://clusters.example.com/sharedsubnet.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/sharedvpc.example.com
|
configBase: memfs://clusters.example.com/sharedvpc.example.com
|
||||||
configStore: memfs://clusters.example.com/sharedvpc.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
configBase: memfs://clusters.example.com/minimal-ipv6.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal-ipv6.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/unmanaged.example.com
|
configBase: memfs://clusters.example.com/unmanaged.example.com
|
||||||
configStore: memfs://clusters.example.com/unmanaged.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ spec:
|
||||||
cloudProvider: aws
|
cloudProvider: aws
|
||||||
clusterDNSDomain: cluster.local
|
clusterDNSDomain: cluster.local
|
||||||
configBase: memfs://clusters.example.com/minimal.example.com
|
configBase: memfs://clusters.example.com/minimal.example.com
|
||||||
configStore: memfs://clusters.example.com/minimal.example.com
|
|
||||||
containerRuntime: containerd
|
containerRuntime: containerd
|
||||||
containerd:
|
containerd:
|
||||||
logLevel: info
|
logLevel: info
|
||||||
|
|
|
||||||
|
|
@ -167,9 +167,7 @@ func (c *populateClusterSpec) run(ctx context.Context, clientset simple.Clientse
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("error parsing ConfigBase %q: %v", cluster.Spec.ConfigBase, err)
|
return fmt.Errorf("error parsing ConfigBase %q: %v", cluster.Spec.ConfigBase, err)
|
||||||
}
|
}
|
||||||
if vfs.IsClusterReadable(configBase) {
|
if !vfs.IsClusterReadable(configBase) {
|
||||||
cluster.Spec.ConfigStore = configBase.Path()
|
|
||||||
} else {
|
|
||||||
// We could implement this approach, but it seems better to get all clouds using cluster-readable storage
|
// We could implement this approach, but it seems better to get all clouds using cluster-readable storage
|
||||||
return fmt.Errorf("ConfigBase path is not cluster readable: %v", cluster.Spec.ConfigBase)
|
return fmt.Errorf("ConfigBase path is not cluster readable: %v", cluster.Spec.ConfigBase)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue