.
This commit is contained in:
@@ -15,6 +15,17 @@ spec:
|
|||||||
- name: kaniko
|
- name: kaniko
|
||||||
image: gcr.io/kaniko-project/executor:v1.23.2
|
image: gcr.io/kaniko-project/executor:v1.23.2
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
- name: GIT_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: gitea-creds
|
||||||
|
key: username
|
||||||
|
- name: GIT_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: gitea-creds
|
||||||
|
key: password
|
||||||
args:
|
args:
|
||||||
- --context=git://gitea.apps.undercloud.dev/Undercloud/k8s-apps.git
|
- --context=git://gitea.apps.undercloud.dev/Undercloud/k8s-apps.git
|
||||||
- --dockerfile=netbox/image/Dockerfile
|
- --dockerfile=netbox/image/Dockerfile
|
||||||
|
|||||||
@@ -16,3 +16,13 @@ stringData:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: gitea-creds
|
||||||
|
namespace: kaniko
|
||||||
|
type: Opaque
|
||||||
|
stringData:
|
||||||
|
username: shodan
|
||||||
|
password: 4IsTheMindKiller
|
||||||
Reference in New Issue
Block a user