Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.
This repository was archived by the owner on May 8, 2025. It is now read-only.

k8s 1.19 golang 1.15 doesn't like the webhook cert generated #430

Open
@sgraham785

Description

@sgraham785

Kubernetes 1.19 updates Golang to 1.15+ which throws this error when trying to validate the webhook caBundle:

Post \"https://flink-operator-webhook-service.<namespace>.svc:443/mutate-flinkoperator-k8s-io-v1beta1-flinkcluster?timeout=30s\":
      x509: certificate relies on legacy Common Name field, use SANs or temporarily
      enable Common Name matching with GODEBUG=x509ignoreCN=0'\nkind: Status
message: 'Internal error occurred: failed calling webhook \"mflinkcluster.flinkoperator.k8s.io\":
  Post \"https://flink-operator-webhook-service.<namespace>.svc:443/mutate-flinkoperator-k8s-io-v1beta1-flinkcluster?timeout=30s\":
  x509: certificate relies on legacy Common Name field, use SANs or temporarily enable\n  Common Name matching with GODEBUG=x509ignoreCN=0'

Corrective PR to follow

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