taskfiles/cfa-taskfiles/integrations.yml
2024-12-31 20:31:25 -05:00

15 lines
412 B
YAML

version: '3'
tasks:
aws-cli:
desc: connect to the aws-cli pod running in the environment
cmds:
- cmd: kubectl exec -it aws-cli -- bash
func-port-forward:
desc: forward a local port to the d20 functions listener
cmds:
- kubectl port-forward svc/d20-functions --address $D20_LOCALHOST $D20_FUNCTIONS_PORT:80
env:
D20_LOCALHOST: 127.0.2.1
D20_FUNCTIONS_PORT: 5080