Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force create of services.TrustedCluster no longer fails. #1997

Merged
merged 1 commit into from
Jun 8, 2018

Conversation

russjones
Copy link
Contributor

Purpose

To allow automation, tctl should honor the --force flag when creating resources.

Implementation

If force is passed in and trace.AlreadyExists is returned by UpsertTrustedCluster return an happy message that the resource has been created.

Related Issues

Fixes #1871

"tctl create -f trustedcluster.yaml" to work.
@russjones russjones merged commit da2efde into master Jun 8, 2018
@russjones russjones deleted the rjones/tctl-force-2 branch June 8, 2018 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants