mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
708 B
YAML
20 lines
708 B
YAML
# If not using IRSA, set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables
|
|
# Store these values in a Secret and load them in the container using envFrom.
|
|
# For managing this secret via GitOps, consider using SOPS or SealedSecrets and add that manifest in a resource file for this kustomize build.
|
|
# https://fluxcd.io/flux/guides/mozilla-sops/
|
|
# https://fluxcd.io/flux/guides/sealed-secrets/
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: credentials-sync
|
|
namespace: flux-system
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: sync
|
|
envFrom:
|
|
- secretRef:
|
|
name: $(ECR_SECRET_NAME) # uncomment the var for this in kustomization.yaml
|