chore: vars

This commit is contained in:
auricom
2024-05-13 21:31:18 +02:00
parent d3d6cb4b24
commit dfae7dc573
10 changed files with 15 additions and 13 deletions

View File

@@ -38,7 +38,7 @@ spec:
compression: bzip2
maxParallel: 8
destinationPath: s3://postgresql/
endpointURL: https://s3.feisar.ovh
endpointURL: https://s3.${SECRET_INTERNAL_DOMAIN}
# Note: serverName version needs to be inclemented
# when recovering from an existing cnpg cluster
serverName: postgres16-v3
@@ -58,7 +58,7 @@ spec:
# - name: postgres16-v2
# barmanObjectStore:
# destinationPath: s3://postgresql/
# endpointURL: https://s3.feisar.ovh
# endpointURL: https://s3.${SECRET_INTERNAL_DOMAIN}
# s3Credentials:
# accessKeyId:
# name: cloudnative-pg-secret

View File

@@ -67,7 +67,7 @@ spec:
url: "https://truenas-remote.${SECRET_DOMAIN}"
- name: minio
icon: mdi:aws
url: "https://s3.feisar.ovh"
url: "https://s3.${SECRET_INTERNAL_DOMAIN}"
- name: pikvm
icon: mdi:ip-network
url: "https://pikvm.${SECRET_DOMAIN}"

View File

@@ -3,7 +3,7 @@ type = s3
provider = Minio
access_key_id = __RCLONE_ACCESS_ID__
secret_access_key = __RCLONE_SECRET_KEY__
endpoint = https://s3.feisar.ovh
endpoint = https://s3.${SECRET_INTERNAL_DOMAIN}
acl = private
[gdrive-homelab-backups]

View File

@@ -41,8 +41,8 @@ spec:
tag: 1.29.2@sha256:693ced2697bb7c7349419d4035a62bd474fc41710675b344f71773d8a687dfc3
command: [/bin/bash, /app/opnsense-backup.sh]
env:
OPNSENSE_URL: "https://opnsense.feisar.ovh"
S3_URL: "https://s3.feisar.ovh"
OPNSENSE_URL: "https://opnsense.${SECRET_INTERNAL_DOMAIN}"
S3_URL: "https://s3.${SECRET_INTERNAL_DOMAIN}"
envFrom:
- secretRef:
name: homelab-opnsense-secret

View File

@@ -44,7 +44,7 @@ curl -fsSL \
-H "Date: ${http_request_date}" \
-H "Content-Type: ${http_content_type}" \
-H "Authorization: AWS ${AWS_ACCESS_KEY_ID}:${http_signature}" \
"https://s3.feisar.ovh/${http_filepath}"
"https://s3.${SECRET_INTERNAL_DOMAIN}/${http_filepath}"
rm /tmp/backup-*.tar

View File

@@ -53,7 +53,7 @@ spec:
AWS_S3_ACL: private
AWS_S3_FORCE_PATH_STYLE: "true"
AWS_S3_UPLOAD_BUCKET_NAME: outline
AWS_S3_UPLOAD_BUCKET_URL: "https://s3.feisar.ovh"
AWS_S3_UPLOAD_BUCKET_URL: "https://s3.${SECRET_INTERNAL_DOMAIN}"
ENABLE_UPDATES: "false"
FILE_STORAGE_UPLOAD_MAX_SIZE: "26214400"
OIDC_AUTH_URI: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/authorization"

View File

@@ -33,7 +33,7 @@ sharry.restserver {
minio =
{ enabled = true
type = "s3"
endpoint = "https://s3.feisar.ovh"
endpoint = "https://s3.${SECRET_INTERNAL_DOMAIN}"
access-key = "${SECRET_SHARRY_MINIO_S3_ACCESS_KEY}"
secret-key = "${SECRET_SHARRY_MINIO_S3_SECRET_KEY}"
bucket = "sharry"

View File

@@ -35,7 +35,7 @@ spec:
type: s3
config:
bucket: thanos
endpoint: "s3.feisar.ovh"
endpoint: "s3.${SECRET_INTERNAL_DOMAIN}"
region: ""
# insecure: true
query: