fix: basic auth secret (#13)
All checks were successful
Deploy / check-changes (push) Successful in 5s
Deploy / deploy-node-labels (push) Has been skipped
Deploy / deploy-coredns (push) Has been skipped
Deploy / deploy-traefik (push) Has been skipped
Deploy / deploy-crowdsec (push) Has been skipped

Reviewed-on: #13
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #13.
This commit is contained in:
2025-12-28 10:24:25 +01:00
committed by t.behrendt
parent 68eab31355
commit 3715096e42

View File

@@ -89,10 +89,11 @@ jobs:
with: with:
namespace: kube-system namespace: kube-system
secret-name: admin-basic-auth-credentials secret-name: admin-basic-auth-credentials
secret-type: "kubernetes.io/basic-auth" secret-type: Opaque
string-data: | data: |
username: netadmin {
password: "${{ secrets.ADMIN_BASIC_AUTH_PASSWORD }}" "auth": "${{ secrets.ADMIN_BASIC_AUTH_CREDENTIALS }}"
}
- name: Set crowdsec bouncer api key - name: Set crowdsec bouncer api key
uses: azure/k8s-create-secret@6e0ba8047235646753f2a3a3b359b4d0006ff218 # v5 uses: azure/k8s-create-secret@6e0ba8047235646753f2a3a3b359b4d0006ff218 # v5
with: with: