-
Notifications
You must be signed in to change notification settings - Fork 9
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
Receiving "error in the configuration: both spec and arguments provided: configuration error" #41
Comments
Hey @joe-elliott so in the 1.4.0 version of this plugin there were two paths. The I also stopped the configuration values from being added because a username and password is being provided in it so by having it go into a template file there's potential for those secrets leaking. Are you using the template multiple times in a pipeline? If not just replace |
Yeah, we are using it 3 times: https://github.com/grafana/tempo/blob/main/.drone/drone.yml#L137-L163 Is there a way to pass in arbitrary key value pairs and build the template off of that? Something like:
|
Not currently but that's something we can do. @joe-elliott could you pin the manifest plugin at |
Can do. Thanks for the quick response @donny-dont |
So this seems to be related to this change:
#40
Our configuration looks like:
and our template looks like:
in particular this condition is causing our issue:
drone-manifest/plugin/plugin.go
Line 167 in af5721d
is it intentional that we can't provide a target and a template? note that we use the target in our template. is there a better way to do that?
The text was updated successfully, but these errors were encountered: