feat(k8s): add external secret for geo-service

Creates an ExternalSecret for the geo-service to manage 
sensitive information through an external secrets store. 
Removes the legacy create-secrets script and updates 
references in the deployment configuration to use the 
new secret. This enhances security and maintainability 
by centralizing secret management.
This commit is contained in:
2025-04-08 10:15:22 +02:00
parent 025be8a08a
commit b08ee1b646
3 changed files with 15 additions and 18 deletions
+14
View File
@@ -0,0 +1,14 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: geo-service
spec:
refreshInterval: 1h
secretStoreRef:
name: external-secrets
kind: ClusterSecretStore
target:
creationPolicy: Owner
dataFrom:
- extract:
key: applications/dancefinder/geo-service