diff --git a/.github/scripts/end2end/install-kind-dependencies.sh b/.github/scripts/end2end/install-kind-dependencies.sh index 64d182661..f6378a553 100755 --- a/.github/scripts/end2end/install-kind-dependencies.sh +++ b/.github/scripts/end2end/install-kind-dependencies.sh @@ -201,6 +201,11 @@ mongodb_sharded() { $SOLUTION_REGISTRY/os-shell=$(get_image_from_deps mongodb-shell) \ $SOLUTION_REGISTRY/mongodb-exporter=$(get_image_from_deps mongodb-sharded-exporter) + # cat the current kustomize file + cat kustomization.yaml + + cat ./_build/root/deploy/mongodb-sharded-1-node-2-shards.yaml + kubectl apply -k . kubectl rollout status statefulset data-db-mongodb-sharded-mongos diff --git a/kustomization.yaml b/kustomization.yaml deleted file mode 100644 index 35bcaf3cb..000000000 --- a/kustomization.yaml +++ /dev/null @@ -1,50 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- ./_build/root/deploy/mongodb-sharded-1-node-2-shards.yaml -patches: -- patch: | - - op: add - path: /spec/volumeClaimTemplates/- - value: - metadata: - name: datadir - spec: - accessModes: ["ReadWriteOnce"] - resources: - requests: - storage: "8Gi" - storageClassName: standard - target: - kind: StatefulSet - name: data-db-mongodb-sharded-configsvr -- patch: | - - op: add - path: /spec/volumeClaimTemplates/- - value: - metadata: - name: datadir - spec: - accessModes: ["ReadWriteOnce"] - resources: - requests: - storage: "8Gi" - storageClassName: standard - target: - kind: StatefulSet - name: data-db-mongodb-sharded-shard0-data -- patch: | - - op: add - path: /spec/volumeClaimTemplates/- - value: - metadata: - name: datadir - spec: - accessModes: ["ReadWriteOnce"] - resources: - requests: - storage: "8Gi" - storageClassName: standard - target: - kind: StatefulSet - name: data-db-mongodb-sharded-shard1-data