generated from onedr0p/cluster-template
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8e651c
commit 1c57071
Showing
30 changed files
with
637 additions
and
1,020 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...netes/teyvat/apps/actions-runner-system/actions-runner-controller/app/externalsecret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 12 additions & 14 deletions
26
kubernetes/teyvat/apps/cert-manager/cert-manager/issuers/externalsecret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
--- | ||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/external-secrets.io/externalsecret_v1beta1.json | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: cert-manager-secret | ||
name: &name cloudflare | ||
spec: | ||
refreshInterval: "1h" | ||
secretStoreRef: | ||
name: bitwarden-secrets-manager | ||
kind: ClusterSecretStore | ||
target: | ||
deletionPolicy: Delete | ||
name: *name | ||
template: | ||
type: Opaque | ||
engineVersion: v2 | ||
data: | ||
api-token: "{{ .api_token }}" | ||
data: | ||
- secretKey: api_token | ||
sourceRef: | ||
storeRef: | ||
name: bitwarden-fields | ||
kind: ClusterSecretStore | ||
remoteRef: | ||
key: 136c1200-904a-4e3c-bd02-ac6e00f706e3 | ||
property: api_token | ||
CLOUDFLARE_API_KEY: "{{ .CLOUDFLARE_API_KEY }}" | ||
dataFrom: | ||
- extract: | ||
key: cloudflare |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 15 additions & 41 deletions
56
kubernetes/teyvat/apps/database/cloudnative-pg/app/externalsecret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,25 @@ | ||
--- | ||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/external-secrets.io/externalsecret_v1beta1.json | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: cloudnative-pg-secret | ||
name: &name cloudnative-pg | ||
spec: | ||
refreshInterval: "1h" | ||
secretStoreRef: | ||
name: bitwarden-secrets-manager | ||
kind: ClusterSecretStore | ||
target: | ||
deletionPolicy: Delete | ||
name: *name | ||
template: | ||
engineVersion: v2 | ||
metadata: | ||
labels: | ||
cnpg.io/reload: "true" | ||
type: kubernetes.io/basic-auth | ||
data: | ||
username: "{{ .super_user }}" | ||
password: "{{ .super_pass }}" | ||
aws-access-key-id: "{{ .access_key }}" | ||
aws-secret-access-key: "{{ .secret_key }}" | ||
data: | ||
- secretKey: super_user | ||
sourceRef: | ||
storeRef: | ||
name: bitwarden-login | ||
kind: ClusterSecretStore | ||
remoteRef: | ||
key: 7a5661cb-9655-422b-8506-b02900fbc4e1 | ||
property: username | ||
- secretKey: super_pass | ||
sourceRef: | ||
storeRef: | ||
name: bitwarden-login | ||
kind: ClusterSecretStore | ||
remoteRef: | ||
key: 7a5661cb-9655-422b-8506-b02900fbc4e1 | ||
property: password | ||
- secretKey: access_key | ||
sourceRef: | ||
storeRef: | ||
name: bitwarden-login | ||
kind: ClusterSecretStore | ||
remoteRef: | ||
key: eff71b07-9389-4874-923b-b0560025ea51 | ||
property: username | ||
- secretKey: secret_key | ||
sourceRef: | ||
storeRef: | ||
name: bitwarden-login | ||
kind: ClusterSecretStore | ||
remoteRef: | ||
key: eff71b07-9389-4874-923b-b0560025ea51 | ||
property: password | ||
username: "{{ .POSTGRES_SUPER_USER }}" | ||
password: "{{ .POSTGRES_SUPER_PASS }}" | ||
aws-access-key-id: "{{ .POSTGRES_BUCKET_USER }}" | ||
aws-secret-access-key: "{{ .POSTGRES_BUCKET_PASS }}" | ||
dataFrom: | ||
- extract: | ||
key: cloudnative-pg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.