File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,14 @@ check_pod_install_order() {
116116 fi
117117}
118118
119+ check_airgap_pvc () {
120+ if ! kubectl get pvc -n registry --no-headers=true | wc -l | grep -q 1 ; then
121+ echo " Failed to find registry pvc"
122+ kubectl get pvc -A
123+ return 1
124+ fi
125+ }
126+
119127wait_for_installation () {
120128 ready=$( kubectl get installations --no-headers | grep -c " Installed" || true)
121129 counter=0
@@ -175,6 +183,9 @@ main() {
175183 if ! check_pod_install_order; then
176184 exit 1
177185 fi
186+ if ! check_airgap_pvc; then
187+ exit 1
188+ fi
178189 if ! systemctl status embedded-cluster; then
179190 echo " Failed to get status of embedded-cluster service"
180191 exit 1
Original file line number Diff line number Diff line change @@ -40,7 +40,13 @@ var helmValues = map[string]interface{}{
4040 "image" : map [string ]interface {}{
4141 "tag" : ImageVersion ,
4242 },
43- "storage" : "filesystem" , // this is not a recognized option but gets us past all the storage options
43+ "storage" : "filesystem" ,
44+ "persistence" : map [string ]interface {}{
45+ "enabled" : true ,
46+ "size" : "10Gi" ,
47+ "accessMode" : "ReadWriteOnce" ,
48+ "storageClass" : "openebs-hostpath" ,
49+ },
4450 "configData" : map [string ]interface {}{
4551 "auth" : map [string ]interface {}{
4652 "htpasswd" : map [string ]interface {}{
You can’t perform that action at this time.
0 commit comments