Skip to content

Installing fulcio failed due to domain confusion #622

Open
@therealnb

Description

@therealnb

Description

Installing fulcio failed, the pods didn't come up. In the log

2023-04-22T20:13:45.002Z	�[31mFATAL�[0m	app/serve.go:187	error loading --config-path=/etc/fulcio-config/config.json: provider https://kubernetes.default.svc: oidc: issuer did not match the issuer returned by provider, expected "https://kubernetes.default.svc" got "https://kubernetes.default.svc.cluster.local"

Had to change the config to add '.cluster.local'

$ kubectl edit cm/fulcio-config

apiVersion: v1
data:
  config.json: |-
    {
      "OIDCIssuers": {
        "https://kubernetes.default.svc.cluster.local": {
          "IssuerURL": "https://kubernetes.default.svc.cluster.local",
          "ClientID": "sigstore",
          "Type": "kubernetes"
        }, ...

To get this to work.

Version
This was on the master branch sigs.k8s.io/release-utils/version.gitVersion=927786a-dirty

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions