This repository has been archived by the owner on Apr 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Controlplane actuators create managed resources for storage classes
```improvement operator The control plane actuators do now create `ManagedResource`s for storage classes. ```
- Loading branch information
Showing
45 changed files
with
453 additions
and
126 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
controllers/provider-alicloud/charts/internal/shoot-storageclasses/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart for storageclasses that should be installed to the shoot | ||
name: shoot-storageclasses | ||
version: 0.1.0 |
7 changes: 7 additions & 0 deletions
7
controllers/provider-alicloud/charts/internal/shoot-storageclasses/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{- define "storageclassversion" -}} | ||
{{- if semverCompare ">= 1.13-0" .Capabilities.KubeVersion.GitVersion -}} | ||
storage.k8s.io/v1 | ||
{{- else -}} | ||
storage.k8s.io/v1beta1 | ||
{{- end -}} | ||
{{- end -}} |
13 changes: 13 additions & 0 deletions
13
...lers/provider-alicloud/charts/internal/shoot-storageclasses/templates/storageclasses.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: default | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
provisioner: diskplugin.csi.alibabacloud.com | ||
parameters: | ||
csi.storage.k8s.io/fstype: ext4 | ||
type: cloud_ssd | ||
readOnly: "false" | ||
encrypted: "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
controllers/provider-aws/charts/internal/shoot-storageclasses/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart for storageclasses that should be installed to the shoot | ||
name: shoot-storageclasses | ||
version: 0.1.0 |
7 changes: 7 additions & 0 deletions
7
controllers/provider-aws/charts/internal/shoot-storageclasses/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{- define "storageclassversion" -}} | ||
{{- if semverCompare ">= 1.13-0" .Capabilities.KubeVersion.GitVersion -}} | ||
storage.k8s.io/v1 | ||
{{- else -}} | ||
storage.k8s.io/v1beta1 | ||
{{- end -}} | ||
{{- end -}} |
18 changes: 18 additions & 0 deletions
18
controllers/provider-aws/charts/internal/shoot-storageclasses/templates/storageclasses.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: default | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
provisioner: kubernetes.io/aws-ebs | ||
parameters: | ||
type: gp2 | ||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: gp2 | ||
provisioner: kubernetes.io/aws-ebs | ||
parameters: | ||
type: gp2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
controllers/provider-azure/charts/internal/shoot-storageclasses/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart for storageclasses that should be installed to the shoot | ||
name: shoot-storageclasses | ||
version: 0.1.0 |
7 changes: 7 additions & 0 deletions
7
controllers/provider-azure/charts/internal/shoot-storageclasses/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{- define "storageclassversion" -}} | ||
{{- if semverCompare ">= 1.13-0" .Capabilities.KubeVersion.GitVersion -}} | ||
storage.k8s.io/v1 | ||
{{- else -}} | ||
storage.k8s.io/v1beta1 | ||
{{- end -}} | ||
{{- end -}} |
37 changes: 37 additions & 0 deletions
37
...rollers/provider-azure/charts/internal/shoot-storageclasses/templates/storageclasses.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: default | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
provisioner: kubernetes.io/azure-disk | ||
parameters: | ||
storageaccounttype: Standard_LRS | ||
kind: managed | ||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: managed-standard-hdd | ||
provisioner: kubernetes.io/azure-disk | ||
parameters: | ||
storageaccounttype: Standard_LRS | ||
kind: managed | ||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: managed-premium-ssd | ||
provisioner: kubernetes.io/azure-disk | ||
parameters: | ||
storageaccounttype: Premium_LRS | ||
kind: managed | ||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: files | ||
provisioner: kubernetes.io/azure-file | ||
parameters: | ||
skuName: Standard_LRS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
controllers/provider-gcp/charts/internal/shoot-storageclasses/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart for storageclasses that should be installed to the shoot | ||
name: shoot-storageclasses | ||
version: 0.1.0 |
7 changes: 7 additions & 0 deletions
7
controllers/provider-gcp/charts/internal/shoot-storageclasses/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{- define "storageclassversion" -}} | ||
{{- if semverCompare ">= 1.13-0" .Capabilities.KubeVersion.GitVersion -}} | ||
storage.k8s.io/v1 | ||
{{- else -}} | ||
storage.k8s.io/v1beta1 | ||
{{- end -}} | ||
{{- end -}} |
19 changes: 19 additions & 0 deletions
19
controllers/provider-gcp/charts/internal/shoot-storageclasses/templates/storageclasses.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: default | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
provisioner: kubernetes.io/gce-pd | ||
parameters: | ||
type: pd-standard | ||
|
||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: gce-sc-fast | ||
provisioner: kubernetes.io/gce-pd | ||
parameters: | ||
type: pd-ssd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
controllers/provider-openstack/charts/internal/shoot-storageclasses/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
description: A Helm chart for storageclasses that should be installed to the shoot | ||
name: shoot-storageclasses | ||
version: 0.1.0 |
7 changes: 7 additions & 0 deletions
7
controllers/provider-openstack/charts/internal/shoot-storageclasses/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{- define "storageclassversion" -}} | ||
{{- if semverCompare ">= 1.13-0" .Capabilities.KubeVersion.GitVersion -}} | ||
storage.k8s.io/v1 | ||
{{- else -}} | ||
storage.k8s.io/v1beta1 | ||
{{- end -}} | ||
{{- end -}} |
10 changes: 10 additions & 0 deletions
10
...ers/provider-openstack/charts/internal/shoot-storageclasses/templates/storageclasses.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: {{ include "storageclassversion" . }} | ||
kind: StorageClass | ||
metadata: | ||
name: default-class | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
provisioner: kubernetes.io/cinder | ||
parameters: | ||
availability: {{ .Values.availability }} |
1 change: 1 addition & 0 deletions
1
controllers/provider-openstack/charts/internal/shoot-storageclasses/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
availability: zone-1 |
Oops, something went wrong.