Skip to content

Cannot resolve package dependencies #8

@hany

Description

@hany

Hi, I'm new to the whole Crossplane ecosystem, and I'm attempting to explore your dot-gitops Configuration.

I see that this configuration depends on the provider-helm provider being installed:

https://github.com/vfarcic/devops-toolkit-crossplane/blob/master/packages/gitops/crossplane.yaml#L13-L14

Which I have installed in my k8s cluster:

apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-helm
spec:
  package: xpkg.upbound.io/crossplane-contrib/provider-helm:v0.17.0
$ kubectl get provider.pkg/provider-helm
NAME            INSTALLED   HEALTHY   PACKAGE                                                    AGE
provider-helm   True        True      xpkg.upbound.io/crossplane-contrib/provider-helm:v0.17.0   7m26s

However, when I proceed to install your configuration using the following:

apiVersion: pkg.crossplane.io/v1
kind: Configuration
metadata:
  name: dot-gitops
spec:
  package: xpkg.upbound.io/devops-toolkit/dot-gitops:v0.2.14

I'm getting this error for the config:

Status:
  Conditions:
    Last Transition Time:  2024-03-10T15:27:06Z
    Message:               cannot resolve package dependencies: missing dependencies: [crossplane/provider-helm]
    Reason:                UnknownPackageRevisionHealth
    Status:                Unknown
    Type:                  Healthy
    Last Transition Time:  2024-03-10T15:27:04Z
    Reason:                ActivePackageRevision
    Status:                True
    Type:                  Installed
  Current Identifier:      xpkg.upbound.io/devops-toolkit/dot-gitops:v0.2.14
  Current Revision:        dot-gitops-00637ccddc9b
Events:
  Type     Reason                  Age              From                                      Message
  ----     ------                  ----             ----                                      -------
  Warning  InstallPackageRevision  7s (x6 over 9s)  packages/configuration.pkg.crossplane.io  current package revision health is unknown

I'm not sure how to effectively troubleshoot this issue. Any guidance would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions