change cred
All checks were successful
lint-test-helm / helm-lint (push) Successful in 8s
renovate / renovate (push) Successful in 1m17s

This commit is contained in:
2025-11-29 17:54:33 -06:00
parent 425351b338
commit f1a0008763
2 changed files with 11 additions and 54 deletions

View File

@@ -75,10 +75,10 @@ spec:
apiVersion: external-secrets.io/v1 apiVersion: external-secrets.io/v1
kind: ExternalSecret kind: ExternalSecret
metadata: metadata:
name: s3-garage-local-secret name: s3-garage-secret
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
app.kubernetes.io/name: s3-garage-local-secret app.kubernetes.io/name: s3-garage-secret
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }}
spec: spec:
@@ -90,57 +90,20 @@ spec:
remoteRef: remoteRef:
conversionStrategy: Default conversionStrategy: Default
decodingStrategy: None decodingStrategy: None
key: /garage/home-infra/postgres-backups key: /garage/home-infra/s3-exporter
metadataPolicy: None metadataPolicy: None
property: ACCESS_KEY_ID property: ACCESS_KEY_ID
- secretKey: AWS_SECRET_ACCESS_KEY - secretKey: AWS_SECRET_ACCESS_KEY
remoteRef: remoteRef:
conversionStrategy: Default conversionStrategy: Default
decodingStrategy: None decodingStrategy: None
key: /garage/home-infra/postgres-backups key: /garage/home-infra/s3-exporter
metadataPolicy: None metadataPolicy: None
property: ACCESS_SECRET_KEY property: ACCESS_SECRET_KEY
- secretKey: AWS_REGION - secretKey: AWS_REGION
remoteRef: remoteRef:
conversionStrategy: Default conversionStrategy: Default
decodingStrategy: None decodingStrategy: None
key: /garage/home-infra/postgres-backups key: /garage/home-infra/s3-exporter
metadataPolicy: None
property: ACCESS_REGION
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: s3-garage-remote-secret
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: s3-garage-remote-secret
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: vault
data:
- secretKey: AWS_ACCESS_KEY_ID
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /garage/home-infra/postgres-backups
metadataPolicy: None
property: ACCESS_KEY_ID
- secretKey: AWS_SECRET_ACCESS_KEY
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /garage/home-infra/postgres-backups
metadataPolicy: None
property: ACCESS_SECRET_KEY
- secretKey: AWS_REGION
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /garage/home-infra/postgres-backups
metadataPolicy: None metadataPolicy: None
property: ACCESS_REGION property: ACCESS_REGION

View File

@@ -97,18 +97,15 @@ s3-exporter:
- name: S3_ACCESS_KEY - name: S3_ACCESS_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: s3-garage-local-secret name: s3-garage-secret
key: AWS_ACCESS_KEY_ID key: AWS_ACCESS_KEY_ID
- name: S3_SECRET_KEY - name: S3_SECRET_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: s3-garage-local-secret name: s3-garage-secret
key: AWS_SECRET_ACCESS_KEY key: AWS_SECRET_ACCESS_KEY
- name: S3_REGION - name: S3_REGION
valueFrom: value: us-east-1
secretKeyRef:
name: s3-garage-local-secret
key: AWS_REGION
- name: LOG_LEVEL - name: LOG_LEVEL
value: debug value: debug
- name: S3_FORCE_PATH_STYLE - name: S3_FORCE_PATH_STYLE
@@ -136,18 +133,15 @@ s3-exporter:
- name: S3_ACCESS_KEY - name: S3_ACCESS_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: s3-garage-remote-secret name: s3-garage-secret
key: AWS_ACCESS_KEY_ID key: AWS_ACCESS_KEY_ID
- name: S3_SECRET_KEY - name: S3_SECRET_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: s3-garage-remote-secret name: s3-garage-secret
key: AWS_SECRET_ACCESS_KEY key: AWS_SECRET_ACCESS_KEY
- name: S3_REGION - name: S3_REGION
valueFrom: value: us-east-1
secretKeyRef:
name: s3-garage-remote-secret
key: AWS_REGION
- name: LOG_LEVEL - name: LOG_LEVEL
value: debug value: debug
- name: S3_FORCE_PATH_STYLE - name: S3_FORCE_PATH_STYLE