Skip to content

Commit 7453aa7

Browse files
committed
Add secret creation to helm local tests
1 parent 90c42c1 commit 7453aa7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/helm.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,15 @@ jobs:
9999
kind load docker-image ${{ join(fromJSON(steps.ngf-meta.outputs.json).tags, ' ') }} ${{ join(fromJSON(steps.nginx-meta.outputs.json).tags, ' ') }} --name ${{ github.run_id }}
100100
kubectl kustomize config/crd/gateway-api/standard | kubectl apply -f -
101101
102+
- name: Create plus secret
103+
if: ${{ inputs.image == 'plus' }}
104+
env:
105+
PLUS_LICENSE: ${{ secrets.JWT_PLUS_REGISTRY }}
106+
run: |
107+
echo "$PLUS_LICENSE" > license.jwt
108+
kubectl create namespace nginx-gateway
109+
kubectl create secret generic nplus-license --from-file license.jwt -n nginx-gateway
110+
102111
- name: Set up Python
103112
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
104113
with:

0 commit comments

Comments
 (0)