feat: deploy GitHub access token
This commit is contained in:
parent
2bfeb76d4b
commit
3d64e5c811
2 changed files with 687 additions and 669 deletions
File diff suppressed because it is too large
Load diff
|
@ -87,6 +87,21 @@
|
||||||
data:
|
data:
|
||||||
user: "{{ concourse.gitea.user | b64encode}}"
|
user: "{{ concourse.gitea.user | b64encode}}"
|
||||||
token: "{{ concourse.gitea.token | b64encode}}"
|
token: "{{ concourse.gitea.token | b64encode}}"
|
||||||
|
loop:
|
||||||
|
- main
|
||||||
|
- inetmock
|
||||||
|
|
||||||
|
- name: Create Github team credentials
|
||||||
|
kubernetes.core.k8s:
|
||||||
|
state: present
|
||||||
|
definition:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: github-credentials
|
||||||
|
namespace: "concourse-{{ item }}"
|
||||||
|
data:
|
||||||
|
token: "{{ github.token | b64encode}}"
|
||||||
loop:
|
loop:
|
||||||
- main
|
- main
|
||||||
- inetmock
|
- inetmock
|
Loading…
Reference in a new issue