Skip to content

Commit

Permalink
Add envsubst to requirements
Browse files Browse the repository at this point in the history
Signed-off-by: Toni Finger <[email protected]>
  • Loading branch information
tonifinger committed Nov 25, 2024
1 parent 40f82b5 commit fa8d2b4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
5 changes: 0 additions & 5 deletions Tests/kaas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ In addition to the core requirements, ensure the following are set up:

* An **OpenStack** environment configured and accessible.
* A `clouds.yaml` file defining OpenStack credentials and endpoints.
* An installing the envsubst via this command:

```bash
GOBIN=/tmp go install github.com/drone/envsubst/v2/cmd/envsubst@latest
```

### Environment Variables

Expand Down
2 changes: 1 addition & 1 deletion Tests/kaas/plugin/plugin_cluster_stacks_remote_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _apply_yaml(self, yaml_file, error_msg, kubeconfig=None):
try:
# Determine if the file is a local path or a URL
if os.path.isfile(yaml_file):
command = f"/tmp/envsubst < {yaml_file} | kubectl apply -f -"
command = f"envsubst < {yaml_file} | kubectl apply -f -"
else:
raise ValueError(f"Unknown file: {yaml_file}")

Expand Down
1 change: 1 addition & 0 deletions Tests/kaas/requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest-kind
kubernetes
junitparser
envsubst
4 changes: 3 additions & 1 deletion Tests/kaas/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# pip-compile requirements.in
Expand All @@ -12,6 +12,8 @@ certifi==2024.8.30
# requests
charset-normalizer==3.3.2
# via requests
envsubst==0.1.5
# via -r requirements.in
google-auth==2.34.0
# via kubernetes
idna==3.8
Expand Down

0 comments on commit fa8d2b4

Please sign in to comment.