Skip to content

Commit fa8d2b4

Browse files
committed
Add envsubst to requirements
Signed-off-by: Toni Finger <[email protected]>
1 parent 40f82b5 commit fa8d2b4

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

Tests/kaas/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ In addition to the core requirements, ensure the following are set up:
4848

4949
* An **OpenStack** environment configured and accessible.
5050
* A `clouds.yaml` file defining OpenStack credentials and endpoints.
51-
* An installing the envsubst via this command:
52-
53-
```bash
54-
GOBIN=/tmp go install github.com/drone/envsubst/v2/cmd/envsubst@latest
55-
```
5651

5752
### Environment Variables
5853

Tests/kaas/plugin/plugin_cluster_stacks_remote_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def _apply_yaml(self, yaml_file, error_msg, kubeconfig=None):
196196
try:
197197
# Determine if the file is a local path or a URL
198198
if os.path.isfile(yaml_file):
199-
command = f"/tmp/envsubst < {yaml_file} | kubectl apply -f -"
199+
command = f"envsubst < {yaml_file} | kubectl apply -f -"
200200
else:
201201
raise ValueError(f"Unknown file: {yaml_file}")
202202

Tests/kaas/requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pytest-kind
22
kubernetes
33
junitparser
4+
envsubst

Tests/kaas/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.8
33
# by the following command:
44
#
55
# pip-compile requirements.in
@@ -12,6 +12,8 @@ certifi==2024.8.30
1212
# requests
1313
charset-normalizer==3.3.2
1414
# via requests
15+
envsubst==0.1.5
16+
# via -r requirements.in
1517
google-auth==2.34.0
1618
# via kubernetes
1719
idna==3.8

0 commit comments

Comments
 (0)