Skip to content

Defining KnativeServing.spec.controller-custom-certs results in ConfigMap being overwritten #1982

Description

@kwkoo

When I define a custom registry certificate in a ConfigMap and reference the ConfigMap in KnativeServing.spec.controller-custom-certs (decribed here), the contents of the ConfigMap gets overwritten with the certificates of other CAs.

This behavior is not present when using the upstream Knative operator.

This looks like it may be due to this line.

However, when the custom registry certificate is defined in a Secret, the contents of the Secret are not overwritten.

If the objective is to merge the service CAs and the trusted CAs with the contents of the ConfigMap, then shouldn't the original contents of the ConfigMap be copied into combinedContents?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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