changing secrets to private repo
This commit is contained in:
@@ -1,48 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata: { name: radarr, namespace: media }
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
target:
|
|
||||||
name: radarr-secret
|
|
||||||
deletionPolicy: Retain
|
|
||||||
template:
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
Radarr__Postgres__User: "{{ .Radarr__Postgres__User }}"
|
|
||||||
Radarr__Postgres__Password: "{{ .Radarr__Postgres__Password }}"
|
|
||||||
Radarr__Postgres__Host: "{{ .Radarr__Postgres__Host }}"
|
|
||||||
Radarr__Postgres__MainDb: "{{ .Radarr__Postgres__MainDb }}"
|
|
||||||
data:
|
|
||||||
- secretKey: Radarr__Postgres__User
|
|
||||||
remoteRef:
|
|
||||||
{
|
|
||||||
key: ab723b65-3ec8-469c-b01d-67a6e3049023,
|
|
||||||
property: username,
|
|
||||||
}
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-login, kind: ClusterSecretStore } }
|
|
||||||
- secretKey: Radarr__Postgres__Password
|
|
||||||
remoteRef:
|
|
||||||
{
|
|
||||||
key: ab723b65-3ec8-469c-b01d-67a6e3049023,
|
|
||||||
property: password,
|
|
||||||
}
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-login, kind: ClusterSecretStore } }
|
|
||||||
- secretKey: Radarr__Postgres__Host
|
|
||||||
remoteRef:
|
|
||||||
{
|
|
||||||
key: ab723b65-3ec8-469c-b01d-67a6e3049023,
|
|
||||||
property: Radarr__Postgres__Host,
|
|
||||||
}
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-fields, kind: ClusterSecretStore } }
|
|
||||||
- secretKey: Radarr__Postgres__MainDb
|
|
||||||
remoteRef:
|
|
||||||
{
|
|
||||||
key: ab723b65-3ec8-469c-b01d-67a6e3049023,
|
|
||||||
property: Radarr__Postgres__MainDb,
|
|
||||||
}
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-fields, kind: ClusterSecretStore } }
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata: { name: recommender, namespace: media }
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
target:
|
|
||||||
name: recommender-secrets
|
|
||||||
deletionPolicy: Retain
|
|
||||||
template:
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
OPENAI_API_KEY: "{{ .OPENAI_API_KEY }}"
|
|
||||||
DATABASE_URL: "{{ .DATABASE_URL }}"
|
|
||||||
data:
|
|
||||||
- secretKey: OPENAI_API_KEY
|
|
||||||
remoteRef:
|
|
||||||
{
|
|
||||||
key: 5079ef6f-3d1d-4522-b22c-6dd5f1c19acd,
|
|
||||||
property: OPENAI_API_KEY,
|
|
||||||
}
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-fields, kind: ClusterSecretStore } }
|
|
||||||
- secretKey: DATABASE_URL
|
|
||||||
remoteRef:
|
|
||||||
{ key: 5079ef6f-3d1d-4522-b22c-6dd5f1c19acd, property: DATABASE_URL }
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-fields, kind: ClusterSecretStore } }
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata: { name: sonarr, namespace: media }
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
target:
|
|
||||||
name: sonarr-secret
|
|
||||||
deletionPolicy: Retain
|
|
||||||
template:
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
Sonarr__Postgres__User: "{{ .Sonarr__Postgres__User }}"
|
|
||||||
Sonarr__Postgres__Password: "{{ .Sonarr__Postgres__Password }}"
|
|
||||||
Sonarr__Postgres__Host: "{{ .Sonarr__Postgres__Host }}"
|
|
||||||
Sonarr__Postgres__MainDb: "{{ .Sonarr__Postgres__MainDb }}"
|
|
||||||
data:
|
|
||||||
- secretKey: Sonarr__Postgres__User
|
|
||||||
remoteRef:
|
|
||||||
{ key: 2c5b6d27-971f-4876-b10d-db400dfde7b2, property: username }
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-login, kind: ClusterSecretStore } }
|
|
||||||
- secretKey: Sonarr__Postgres__Password
|
|
||||||
remoteRef:
|
|
||||||
{ key: 2c5b6d27-971f-4876-b10d-db400dfde7b2, property: password }
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-login, kind: ClusterSecretStore } }
|
|
||||||
- secretKey: Sonarr__Postgres__Host
|
|
||||||
remoteRef:
|
|
||||||
{
|
|
||||||
key: 2c5b6d27-971f-4876-b10d-db400dfde7b2,
|
|
||||||
property: Sonarr__Postgres__Host,
|
|
||||||
}
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-fields, kind: ClusterSecretStore } }
|
|
||||||
- secretKey: Sonarr__Postgres__MainDb
|
|
||||||
remoteRef:
|
|
||||||
{
|
|
||||||
key: 2c5b6d27-971f-4876-b10d-db400dfde7b2,
|
|
||||||
property: Sonarr__Postgres__MainDb,
|
|
||||||
}
|
|
||||||
sourceRef:
|
|
||||||
{ storeRef: { name: bitwarden-fields, kind: ClusterSecretStore } }
|
|
||||||
Reference in New Issue
Block a user