mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 20:04:32 +07:00
feat(external): inject Backblaze secrets to k8up namespace
This commit is contained in:
parent
da0b8f0450
commit
675891c558
@ -2,3 +2,15 @@ resource "b2_bucket" "backup" {
|
||||
bucket_name = "khuedoan-homelab-backup"
|
||||
bucket_type = "allPrivate"
|
||||
}
|
||||
|
||||
resource "kubernetes_secret" "backblaze_credentials" {
|
||||
metadata {
|
||||
name = "backblaze-credentials"
|
||||
namespace = "k8up-operator"
|
||||
}
|
||||
|
||||
data = {
|
||||
"application-key-id" = var.b2_application_key_id
|
||||
"application-key" = var.b2_application_key
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,8 @@
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- tekton-pipelines
|
||||
- cert-manager
|
||||
- external-dns
|
||||
- cloudflared
|
||||
- external-dns
|
||||
- k8up-operator
|
||||
- tekton-pipelines
|
||||
|
Loading…
Reference in New Issue
Block a user