summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorPer Carlson <per.carlson@vegvesen.no>2017-05-18 10:59:34 +0200
committerPer Carlson <per.carlson@vegvesen.no>2017-06-08 14:47:35 +0200
commit521ebaf9eecc38029cfe6fe0e10a13888cb3f83e (patch)
tree3a145bf9eeed5a3999ca38a59c59a51f419200ae /roles
parent7c6d6a7e1bba389ebbeec5fd5170a8b8dff6c442 (diff)
downloadopenshift-521ebaf9eecc38029cfe6fe0e10a13888cb3f83e.tar.gz
openshift-521ebaf9eecc38029cfe6fe0e10a13888cb3f83e.tar.bz2
openshift-521ebaf9eecc38029cfe6fe0e10a13888cb3f83e.tar.xz
openshift-521ebaf9eecc38029cfe6fe0e10a13888cb3f83e.zip
Use volume.beta.kubernetes.io annotation for storage-classes
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_logging_elasticsearch/tasks/main.yaml2
-rw-r--r--roles/openshift_metrics/tasks/install_cassandra.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging_elasticsearch/tasks/main.yaml b/roles/openshift_logging_elasticsearch/tasks/main.yaml
index 7e88a7498..f1d15b76d 100644
--- a/roles/openshift_logging_elasticsearch/tasks/main.yaml
+++ b/roles/openshift_logging_elasticsearch/tasks/main.yaml
@@ -217,7 +217,7 @@
access_modes: "{{ openshift_logging_elasticsearch_pvc_access_modes | list }}"
pv_selector: "{{ openshift_logging_elasticsearch_pvc_pv_selector }}"
annotations:
- volume.alpha.kubernetes.io/storage-class: "dynamic"
+ volume.beta.kubernetes.io/storage-class: "dynamic"
when:
- openshift_logging_elasticsearch_storage_type == "pvc"
- openshift_logging_elasticsearch_pvc_dynamic
diff --git a/roles/openshift_metrics/tasks/install_cassandra.yaml b/roles/openshift_metrics/tasks/install_cassandra.yaml
index 3b4e8560f..0b6fe7c9e 100644
--- a/roles/openshift_metrics/tasks/install_cassandra.yaml
+++ b/roles/openshift_metrics/tasks/install_cassandra.yaml
@@ -50,7 +50,7 @@
labels:
metrics-infra: hawkular-cassandra
annotations:
- volume.alpha.kubernetes.io/storage-class: dynamic
+ volume.beta.kubernetes.io/storage-class: dynamic
access_modes: "{{ openshift_metrics_cassandra_pvc_access | list }}"
size: "{{ openshift_metrics_cassandra_pvc_size }}"
with_sequence: count={{ openshift_metrics_cassandra_replicas }}