set exoscale secrets
ci / build (push) Waiting to run Details

This commit is contained in:
CJ_Clippy 2024-06-24 13:41:18 -08:00
parent 8a2e862e7b
commit abf33941b1
2 changed files with 17 additions and 2 deletions

View File

@ -61,9 +61,19 @@ spec:
- --source=ingress - --source=ingress
- --domain-filter=sbtp.xyz - --domain-filter=sbtp.xyz
- --provider=exoscale - --provider=exoscale
- --domain-filter=sbtp.xyz
- --policy=sync # if you want DNS entries to get deleted as well
- --txt-owner-id=futureporn
- --exoscale-apizone=de-fra-1
- --exoscale-apienv=api
env: env:
- name: VULTR_API_KEY - name: EXTERNAL_DNS_EXOSCALE_APIKEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: vultr name: exoscale
key: apiKey key: apiKey
- name: EXTERNAL_DNS_EXOSCALE_APISECRET
valueFrom:
secretKeyRef:
name: exoscale
key: apiSecret

View File

@ -23,6 +23,11 @@ data:
aws_secret_access_key: $(echo -n $VELERO_S3_ACCESS_KEY | base64) aws_secret_access_key: $(echo -n $VELERO_S3_ACCESS_KEY | base64)
EOF EOF
kubectl --namespace futureporn delete secret exoscale --ignore-not-found
kubectl --namespace futureporn create secret generic exoscale \
--from-literal=apiKey=${EXOSCALE_API_KEY} \
--from-literal=apiSecret=${EXOSCALE_API_SECRET}
kubectl --namespace futureporn delete secret grafana --ignore-not-found kubectl --namespace futureporn delete secret grafana --ignore-not-found
kubectl --namespace futureporn create secret generic grafana \ kubectl --namespace futureporn create secret generic grafana \
--from-literal=admin-user=${GRAFANA_USERNAME} \ --from-literal=admin-user=${GRAFANA_USERNAME} \