mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:14:38 +07:00
feat(external): initial playbook to create secrets for pipelines
This commit is contained in:
parent
1edf909ea3
commit
6a7709cec9
26
external/secrets.yml
Normal file
26
external/secrets.yml
Normal file
@ -0,0 +1,26 @@
|
||||
# pip install kuberentes
|
||||
- name: Bootstrap external secrets
|
||||
hosts: localhost
|
||||
vars_prompt:
|
||||
- name: cloudflare_email
|
||||
prompt: Enter Cloudflare email
|
||||
- name: cloudflare_api_key
|
||||
prompt: Enter Cloudflare API Key
|
||||
- name: cloudflare_account_id
|
||||
prompt: Enter Cloudflare account ID
|
||||
- name: b2_application_key_id
|
||||
prompt: Enter Backblaze application key ID
|
||||
- name: b2_application_key
|
||||
prompt: Enter Backblaze application key
|
||||
tasks:
|
||||
- name: Ensure required namespaces exist
|
||||
kubernetes.core.k8s:
|
||||
name: "{{ item }}"
|
||||
api_version: v1
|
||||
kind: Namespace
|
||||
state: present
|
||||
loop:
|
||||
- tekton-pipelines
|
||||
- cert-manager
|
||||
- external-dns
|
||||
- cloudflared
|
Loading…
Reference in New Issue
Block a user