dboreham
37b9500483
Support non-tls ingress for kind ( #748 )
...
Reviewed-on: cerc-io/stack-orchestrator#748
Co-authored-by: David Boreham <david@bozemanpass.com >
Co-committed-by: David Boreham <david@bozemanpass.com >
2024-02-17 01:54:30 +00:00
dboreham
d9bb6b3588
Test Database Stack ( #737 )
...
Reviewed-on: cerc-io/stack-orchestrator#737
2024-02-15 05:26:29 +00:00
telackey
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
telackey
903f3b10e2
Add support for annotations and labels in spec. ( #739 )
...
```
stack: webapp-deployer-backend
deploy-to: k8s
annotations:
foo.bar.annot/{name}: baz
labels:
a.b.c/{name}.blah: "value"
```
Reviewed-on: cerc-io/stack-orchestrator#739
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com >
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com >
2024-02-09 00:11:07 +00:00
dboreham
8be1e684e8
Process environment variables defined in compose files ( #736 )
...
Reviewed-on: cerc-io/stack-orchestrator#736
Co-authored-by: David Boreham <david@bozemanpass.com >
Co-committed-by: David Boreham <david@bozemanpass.com >
2024-02-08 19:41:57 +00:00
telackey
3309782439
Refactor
2024-02-08 00:47:46 -06:00
telackey
4b3b3478e7
Switch to Docker-style limits
2024-02-08 00:43:41 -06:00
telackey
2a9955055c
debug
2024-02-07 16:56:35 -06:00
telackey
8964e1c0fe
Add resource limit options to spec.
2024-02-07 16:48:02 -06:00
dboreham
bfbcfb7904
Volume processing fixes ( #729 )
2024-02-06 12:32:10 -07:00
dboreham
6848fc33cf
Implement dry run support for k8s deploy ( #727 )
2024-02-06 07:07:56 -07:00
telackey and dboreham
36bb068983
Add ConfigMap test. ( #726 )
...
* Add ConfigMap test.
* eof
* Minor tweak
* Trigger test
---------
Co-authored-by: David Boreham <david@bozemanpass.com >
2024-02-05 14:15:11 -06:00
telackey
2fcd416e29
Basic webapp deployer stack. ( #722 )
2024-02-02 19:05:15 -07:00
telackey
12ec1bec43
Add ConfigMap support for k8s. ( #714 )
...
* Minor fixes for deploying with k8s and podman.
* ConfigMap support
2024-01-30 23:09:48 -06:00
telackey
62af03077f
Add deployed/error status output to the state file. ( #719 )
...
* More status info
* Up default resource limits.
* Need ps
2024-01-30 22:13:45 -06:00
dboreham
1f9653e6f7
Fix kind mode and add k8s deployment test ( #704 )
...
* Fix kind mode and add k8s deployment test
* Fix lint errors
2024-01-16 15:55:58 -07:00
dboreham
d8357df345
Add image pull secret to pods ( #692 )
2023-12-15 14:27:45 -07:00
telackey
88f66a3626
Add deployment update and deploy-webapp-from-registry commands. ( #676 )
2023-12-13 21:02:34 -06:00
telackey
077ea80c70
Add deployment status command and fix k8s output for deployment ps ( #679 )
2023-12-06 09:27:47 -07:00
telackey
03a3645b3c
Add --port option to run-webapp. ( #667 )
...
* Add --port option to run-webapp
* Fixed merge
* lint
2023-11-29 11:32:28 -06:00
dboreham
113c0bfbf1
Propagate env file for webapp deployment ( #669 )
2023-11-28 21:14:02 -07:00
dboreham
a68cd5d65c
Webapp deploy ( #662 )
2023-11-27 22:02:16 -07:00
dboreham
87bedde5cb
Support for k8s ingress and tls ( #659 )
2023-11-21 16:04:36 -07:00
dboreham
01029cf7aa
Fix for code path that doesn't create a DeploymentContext ( #658 )
2023-11-21 08:35:31 -07:00
dboreham
f6624cb33a
Add image push command ( #656 )
2023-11-20 20:23:55 -07:00
dboreham
c9c6a0eee3
Changes for remote k8s ( #655 )
2023-11-20 09:12:57 -07:00
telackey
2059d67dca
Add run-webapp command. ( #651 )
2023-11-15 10:54:27 -07:00
dboreham
ce587457d7
Add env var support for k8s ( #634 )
2023-11-08 17:53:46 -07:00
dboreham
5e91c2224e
kind test stack ( #629 )
2023-11-08 01:11:00 -07:00
dboreham
4456e70c93
Rename app -> stack_orchestrator ( #625 )
2023-11-07 00:06:55 -07:00