This commit is contained in:
2026-03-27 21:21:01 +00:00
parent 49c47e57aa
commit eb5183701f
2 changed files with 21 additions and 0 deletions

View File

@@ -15,6 +15,17 @@ spec:
- name: kaniko
image: gcr.io/kaniko-project/executor:v1.23.2
imagePullPolicy: IfNotPresent
env:
- name: GIT_USERNAME
valueFrom:
secretKeyRef:
name: gitea-creds
key: username
- name: GIT_PASSWORD
valueFrom:
secretKeyRef:
name: gitea-creds
key: password
args:
- --context=git://gitea.apps.undercloud.dev/Undercloud/k8s-apps.git
- --dockerfile=netbox/image/Dockerfile

View File

@@ -16,3 +16,13 @@ stringData:
}
}
}
---
apiVersion: v1
kind: Secret
metadata:
name: gitea-creds
namespace: kaniko
type: Opaque
stringData:
username: shodan
password: 4IsTheMindKiller