stack-orchestrator/tests
Thomas E Lackey b22c72e715 For k8s, use provisioner-managed volumes when an absolute host path is not specified. (#741)
In kind, when we bind-mount a host directory it is first mounted into the kind container at /mnt, then into the pod at the desired location.

We accidentally picked this up for full-blown k8s, and were creating volumes at /mnt.  This changes the behavior for both kind and regular k8s so that bind mounts are only allowed if a fully-qualified path is specified.  If no path is specified at all, a default storageClass is assumed to be present, and the volume managed by a provisioner.

Eg, for kind, the default provisioner is: https://github.com/rancher/local-path-provisioner

```
stack: test
deploy-to: k8s-kind
config:
  test-variable-1: test-value-1
network:
  ports:
    test:
     - '80'
volumes:
  # this will be bind-mounted to a host-path
  test-data-bind: /srv/data
  # this will be managed by the k8s node
  test-data-auto:
configmaps:
  test-config: ./configmap/test-config
```

Reviewed-on: cerc-io/stack-orchestrator#741
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-14 21:45:01 +00:00
..
deploy For k8s, use provisioner-managed volumes when an absolute host path is not specified. (#741) 2024-02-14 21:45:01 +00:00
fixturenet-eth update fixturenet-eth test (#600) 2023-10-24 16:21:30 -06:00
fixturenet-eth-plugeth Update fixturenet eth test (#506) 2023-08-17 13:24:06 -06:00
fixturenet-laconicd add fixturenet-laconicd test 2023-10-26 17:26:42 -04:00
k8s-deploy For k8s, use provisioner-managed volumes when an absolute host path is not specified. (#741) 2024-02-14 21:45:01 +00:00
laconic-network Mainnet laconic setup (#510) 2023-08-23 15:20:28 -06:00
mainnet-eth Dboreham/mainnet eth (#464) 2023-07-25 10:16:19 -06:00
scripts Add CI script for k8s deployment test (#705) 2024-01-16 16:16:07 -07:00
smoke-test Force the stack to be specified (#571) 2023-10-10 16:13:29 -06:00
webapp-test Support other webapp types (react, static). (#721) 2024-02-02 18:04:06 -06:00