mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-14 23:49:38 -05:00
E2E / debugd: Replace remains of ingressFirewall with debugCluster flag
This commit is contained in:
parent
72d4456b3f
commit
dd4ccdd390
2 changed files with 4 additions and 11 deletions
|
|
@ -127,9 +127,9 @@ runs:
|
||||||
env:
|
env:
|
||||||
GCP_CLUSTER_SERVICE_ACCOUNT_KEY: ${{ inputs.gcpClusterServiceAccountKey }}
|
GCP_CLUSTER_SERVICE_ACCOUNT_KEY: ${{ inputs.gcpClusterServiceAccountKey }}
|
||||||
|
|
||||||
- name: Add debugd firewall rule
|
- name: Enable debugCluster flag
|
||||||
run: |
|
run: |
|
||||||
yq eval -i '(.ingressFirewall) += {"name": "debugd", "description": "debugd default port", "protocol": "tcp", "iprange": "0.0.0.0/0", "fromport": 4000, "toport": 0}' constellation-conf.yaml
|
yq eval -i '(.debugCluster) = true' constellation-conf.yaml
|
||||||
shell: bash
|
shell: bash
|
||||||
if: ${{ inputs.isDebugImage == 'true' }}
|
if: ${{ inputs.isDebugImage == 'true' }}
|
||||||
|
|
||||||
|
|
@ -185,5 +185,5 @@ runs:
|
||||||
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
|
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
|
||||||
with:
|
with:
|
||||||
name: serial-logs
|
name: serial-logs
|
||||||
path: '*.log'
|
path: "*.log"
|
||||||
if: ${{ always() && !env.ACT }}
|
if: ${{ always() && !env.ACT }}
|
||||||
|
|
|
||||||
|
|
@ -32,14 +32,7 @@ With `cdbg` and `yq` installed in your path:
|
||||||
constellation-conf.yaml
|
constellation-conf.yaml
|
||||||
|
|
||||||
yq -i \
|
yq -i \
|
||||||
".ingressFirewall += {
|
"(.debugCluster) = true" \
|
||||||
\"name\": \"debugd\",
|
|
||||||
\"description\": \"debugd default port\",
|
|
||||||
\"protocol\": \"tcp\",
|
|
||||||
\"iprange\": \"0.0.0.0/0\",
|
|
||||||
\"fromport\": 4000,
|
|
||||||
\"toport\": 0
|
|
||||||
}" \
|
|
||||||
constellation-conf.yaml
|
constellation-conf.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue