mirror of https://github.com/kubernetes/kops.git
Merge pull request #1304 from justinsb/storage_class
Create storage class on AWS
This commit is contained in:
commit
67d6e90da4
|
@ -0,0 +1,12 @@
|
|||
apiVersion: storage.k8s.io/v1beta1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: default
|
||||
annotations:
|
||||
storageclass.beta.kubernetes.io/is-default-class: "true"
|
||||
labels:
|
||||
kubernetes.io/cluster-service: "true"
|
||||
provisioner: kubernetes.io/aws-ebs
|
||||
parameters:
|
||||
type: gp2
|
||||
|
|
@ -128,6 +128,13 @@ func (b *BootstrapChannelBuilder) buildManifest() (*channelsapi.Addons, map[stri
|
|||
manifests[key] = "addons/" + location
|
||||
}
|
||||
|
||||
addons.Spec.Addons = append(addons.Spec.Addons, &channelsapi.AddonSpec{
|
||||
Name: fi.String("storage-aws"),
|
||||
Version: fi.String("1.5.0"),
|
||||
Selector: map[string]string{"k8s-addon": "storage-aws.addons.k8s.io"},
|
||||
Manifest: fi.String("storage-aws/v1.5.0.yaml"),
|
||||
})
|
||||
|
||||
if b.cluster.Spec.Networking.Kopeio != nil {
|
||||
key := "networking.kope.io"
|
||||
version := "1.0.20161116"
|
||||
|
|
Loading…
Reference in New Issue