Skip to content

Not unique filenames when using experimental_enable_multiple_api_configs #641

Closed
@srs

Description

@srs

I noticed a bug when using --experimental_enable_multiple_api_configs flag and when using multiple configurations. The definitions are stored under /etc/nginx/endpoints/ directory with a namespaced UUID with service-version as parameter.

This works as long as the various services has unique versions. But for me it does not work since the versions on GCP endpoints is usually date with a revision number. It will not be absolutely unique.

I suggest use service + version as the hash in the UUID generation. This will be unique when using multiple services.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions