fix: basic auth secret (#13)
All checks were successful
All checks were successful
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:
@@ -89,10 +89,11 @@ jobs:
|
||||
with:
|
||||
namespace: kube-system
|
||||
secret-name: admin-basic-auth-credentials
|
||||
secret-type: "kubernetes.io/basic-auth"
|
||||
string-data: |
|
||||
username: netadmin
|
||||
password: "${{ secrets.ADMIN_BASIC_AUTH_PASSWORD }}"
|
||||
secret-type: Opaque
|
||||
data: |
|
||||
{
|
||||
"auth": "${{ secrets.ADMIN_BASIC_AUTH_CREDENTIALS }}"
|
||||
}
|
||||
- name: Set crowdsec bouncer api key
|
||||
uses: azure/k8s-create-secret@6e0ba8047235646753f2a3a3b359b4d0006ff218 # v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user