mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:24:36 +07:00
27 lines
752 B
YAML
27 lines
752 B
YAML
# 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
|