Skip to content

[Docs] Azure Container Registry Generator invalid JSON #3365

@hagel86

Description

@hagel86

Describe the bug
The JSON object passed into .dockerconfigjson in the documentation is invalid, it contains a trailing , where it shouldn't.

"identitytoken": "{{ .password }}",

To Reproduce
Steps to reproduce the behavior:
Follow the guide, you'll get an error similar to this:

"error": "Secret "azurecr-credentials" is invalid: data[.dockerconfigjson]: Invalid value: \"<secret contents redacted>\": invalid character '}' looking for beginning of object key string"

Expected behavior
There should be no errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerskind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions