1Password / scim-examples

1Password SCIM Bridge deployment examples
https://support.1password.com/scim/
MIT License
148 stars 141 forks source link

Error using Docker Swarm #344

Open jan-zat opened 3 weeks ago

jan-zat commented 3 weeks ago

When using this instructions https://github.com/1Password/scim-examples/tree/main/docker#update-your-scim-bridge to deplyo SCIM via Docker Swarm I receive an error after docker stack config --compose-file ./compose.template.yaml | docker stack deploy --compose-file - op-scim-bridge

Error:

Since --detach=false was not specified, tasks will be created in the background.
In a future release, --detach=false will become the default.
failed to update secret credentials: Error response from daemon: rpc error: code = InvalidArgument desc = only updates to Labels are allowed

All my config files like scimsession didn't changed

DBOSBITS commented 3 weeks ago

Hey there jan-zat,

The example found in those instructions creates the Docker secret from a file in the deployment environment and this error is not expected unless it has changed since the last time the command was run. Therefore, this error indicates that Docker is attempting and failing to update the value of a secret that already exists.