Open JCSynthTux opened 3 days ago
Hi @JCSynthTux, currently swarmCD works best with secrets encrypted with SOPS, s that you can securely commit your secrets to the repository.
External secrets are currently not supported: the rotateObjects function expects a "file" field and returns the error message you're seeing if it is missing. This is definitely a bug!
Hello,
I really like this container you created and wanted to say thank you!
Sadly I am experiencing an issue which I can't seem to solve:
In the logs I get the following error:
swarmcd_swarm-cd.1.k4wu36tz3hgi@docker01 | time=2024-09-21T14:40:26.012Z level=ERROR msg="could not rotate one or more secret files of stack minio: invalid compose file: minio_root_user file field must be a string"
This is the stack in question:
The secrets are created externally from files with:
The same stack file work without issues when doing a manual deployment using:
docker stack deploy -c docker-stacks/minio/docker-stack.yml minio
Other deployments in the stack file work fine, but don't have any secrets attached to them. I guess swarmcd tries to rotate secrets even when they are externally created?