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

Tutorial is Broken #1080

Description

@OpenGLShaders

If you are reporting a problem, please make sure the following information are provided:

Expected behavior and actual behavior:
Following the tutorial I run: kubectl apply -f https://raw.githubusercontent.com/goharbor/harbor-operator/main/manifests/cluster/deployment.yaml
and get the following:

[resource mapping not found for name: "serving-cert" namespace: "harbor-operator-ns" from "https://raw.githubusercontent.com/goharbor/harbor-operator/main/manifests/cluster/deployment.yaml": no matches for kind "Certificate" in version "cert-manager.io/v1"
ensure CRDs are installed first, resource mapping not found for name: "selfsigned-issuer" namespace: "harbor-operator-ns" from "https://raw.githubusercontent.com/goharbor/harbor-operator/main/manifests/cluster/deployment.yaml": no matches for kind "Issuer" in version "cert-manager.io/v1"
ensure CRDs are installed first]
Error from server (Invalid): error when creating "https://raw.githubusercontent.com/goharbor/harbor-operator/main/manifests/cluster/deployment.yaml": CustomResourceDefinition.apiextensions.k8s.io "jobservices.goharbor.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
Error from server (Invalid): error when creating "https://raw.githubusercontent.com/goharbor/harbor-operator/main/manifests/cluster/deployment.yaml": CustomResourceDefinition.apiextensions.k8s.io "redisfailovers.databases.spotahome.com" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

Steps to reproduce the problem:
kubectl apply -f https://raw.githubusercontent.com/goharbor/harbor-operator/main/manifests/cluster/deployment.yaml

Versions:
Please specify the versions of following systems.

  • harbor operator version: latest
  • harbor version: latest
  • kubernetes version: v1.28.3

Additional context:

I'm using minikube for local development and testing.

Workaround

kubectl create -f https://raw.githubusercontent.com/goharbor/harbor-operator/main/manifests/cluster/deployment.yaml
seems to work.

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