kubernetes / client-go

Go client for Kubernetes.
Apache License 2.0
9.14k stars 2.95k forks source link

Client-go version v0.28.2 is breaking go build #1298

Closed alinalex1392 closed 1 year ago

alinalex1392 commented 1 year ago

I have the following go.mod

module custom

go 1.21

replace oras.land/oras-go v1.2.3 => github.com/defenseunicorns/oras-go v1.2.4-0.20230605015028-85c595ed4b64

require (
    github.com/AlecAivazis/survey/v2 v2.3.7
    github.com/Masterminds/semver v1.5.0
    github.com/bitnami-labs/sealed-secrets v0.23.1
    github.com/defenseunicorns/zarf v0.29.2
    github.com/go-git/go-git/v5 v5.9.0
    github.com/go-playground/validator/v10 v10.15.4
    github.com/goccy/go-yaml v1.11.0
    github.com/google/go-cmp v0.5.9
    github.com/google/go-containerregistry v0.16.1
    github.com/google/renameio v0.1.0
    github.com/hashicorp/terraform-json v0.17.1
    github.com/invopop/jsonschema v0.8.0
    github.com/matryer/is v1.4.1
    github.com/mholt/archiver/v3 v3.5.1
    github.com/pterm/pterm v0.12.67
    github.com/spf13/cobra v1.7.0
    github.com/spf13/pflag v1.0.5
    github.com/stretchr/testify v1.8.4
    github.com/zclconf/go-cty v1.14.0
    helm.sh/helm/v3 v3.12.3
    k8s.io/client-go v0.28.2
)

go mod tidy is running fine but at go build I encounter the following error:

# sigs.k8s.io/kustomize/kyaml/openapi
../go/pkg/mod/sigs.k8s.io/kustomize/kyaml@v0.14.2/openapi/openapi.go:683:33: cannot use doc (variable of type *"github.com/google/gnostic/openapiv2".Document) as *"github.com/google/gnostic-models/openapiv2".Document value in argument to swagger.FromGnostic
# k8s.io/kubectl/pkg/util/openapi
../go/pkg/mod/k8s.io/kubectl@v0.27.4/pkg/util/openapi/openapi_getter.go:36:42: cannot use &CachedOpenAPIGetter{} (value of type *CachedOpenAPIGetter) as discovery.OpenAPISchemaInterface value in variable declaration: *CachedOpenAPIGetter does not implement discovery.OpenAPISchemaInterface (wrong type for method OpenAPISchema)
                have OpenAPISchema() (*"github.com/google/gnostic/openapiv2".Document, error)
                want OpenAPISchema() (*"github.com/google/gnostic-models/openapiv2".Document, error)
../go/pkg/mod/k8s.io/kubectl@v0.27.4/pkg/util/openapi/openapi_getter.go:49:28: cannot use g.openAPIClient.OpenAPISchema() (value of type *"github.com/google/gnostic-models/openapiv2".Document) as *"github.com/google/gnostic/openapiv2".Document value in assignment
../go/pkg/mod/k8s.io/kubectl@v0.27.4/pkg/util/openapi/openapi_getter.go:78:46: cannot use oapi (variable of type *"github.com/google/gnostic-models/openapiv2".Document) as *"github.com/google/gnostic/openapiv2".Document value in argument to NewOpenAPIData
../go/pkg/mod/k8s.io/kubectl@v0.27.4/pkg/util/openapi/openapi.go:52:38: cannot use doc (variable of type *"github.com/google/gnostic/openapiv2".Document) as *"github.com/google/gnostic-models/openapiv2".Document value in argument to proto.NewOpenAPIData

The problem lies in a dependency on client-go named k8s.io/kube-openapi. If I modify the k8s.io/kube-openapi to v0.0.0-20230525220651-2546d827e515 everything works fine, but this one is not a direct dependency for my project. For the moment I pinned the k8s.io/client-go v0.27.4 and everything runs smoothly.

liggitt commented 1 year ago

can you include the full go.mod for your project, including all the indirect dependencies?

Kubernetes at v1.28.2 uses newer versions of kustomize:

    sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 // indirect
    sigs.k8s.io/kustomize/kustomize/v5 v5.0.4-0.20230601165947-6ce0bf390ce3 // indirect
    sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 // indirect

Updating your kustomize version to one of those would resolve this issue.

alinalex1392 commented 1 year ago

Thank you for your fast response, this is my full go.mod.

module custom

go 1.21

replace oras.land/oras-go v1.2.3 => github.com/defenseunicorns/oras-go v1.2.4-0.20230605015028-85c595ed4b64

require (
    github.com/AlecAivazis/survey/v2 v2.3.7
    github.com/Masterminds/semver v1.5.0
    github.com/bitnami-labs/sealed-secrets v0.23.1
    github.com/defenseunicorns/zarf v0.29.2
    github.com/go-git/go-git/v5 v5.9.0
    github.com/go-playground/validator/v10 v10.15.4
    github.com/goccy/go-yaml v1.11.0
    github.com/google/go-cmp v0.5.9
    github.com/google/go-containerregistry v0.16.1
    github.com/google/renameio v0.1.0
    github.com/hashicorp/terraform-json v0.17.1
    github.com/invopop/jsonschema v0.8.0
    github.com/matryer/is v1.4.1
    github.com/mholt/archiver/v3 v3.5.1
    github.com/pterm/pterm v0.12.67
    github.com/spf13/cobra v1.7.0
    github.com/spf13/pflag v1.0.5
    github.com/stretchr/testify v1.8.4
    github.com/zclconf/go-cty v1.14.0
    helm.sh/helm/v3 v3.12.3
    k8s.io/client-go v0.28.2
)

require (
    atomicgo.dev/schedule v0.1.0 // indirect
    cloud.google.com/go/compute v1.19.3 // indirect
    cloud.google.com/go/compute/metadata v0.2.3 // indirect
    cloud.google.com/go/iam v0.13.0 // indirect
    cloud.google.com/go/kms v1.10.1 // indirect
    cuelang.org/go v0.5.0 // indirect
    dario.cat/mergo v1.0.0 // indirect
    github.com/AdaLogics/go-fuzz-headers v0.0.0-20230106234847-43070de90fa1 // indirect
    github.com/AliyunContainerService/ack-ram-tool/pkg/credentials/alibabacloudsdkgo/helper v0.2.0 // indirect
    github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect
    github.com/Azure/go-autorest v14.2.0+incompatible // indirect
    github.com/Azure/go-autorest/autorest v0.11.28 // indirect
    github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect
    github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 // indirect
    github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect
    github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
    github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
    github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
    github.com/Azure/go-autorest/logger v0.2.1 // indirect
    github.com/Azure/go-autorest/tracing v0.6.0 // indirect
    github.com/CycloneDX/cyclonedx-go v0.7.1 // indirect
    github.com/DataDog/zstd v1.4.5 // indirect
    github.com/Microsoft/go-winio v0.6.1 // indirect
    github.com/OneOfOne/xxhash v1.2.8 // indirect
    github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
    github.com/ThalesIgnite/crypto11 v1.2.5 // indirect
    github.com/acobaugh/osrelease v0.1.0 // indirect
    github.com/acomagu/bufpipe v1.0.4 // indirect
    github.com/agnivade/levenshtein v1.1.1 // indirect
    github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.4 // indirect
    github.com/alibabacloud-go/cr-20160607 v1.0.1 // indirect
    github.com/alibabacloud-go/cr-20181201 v1.0.10 // indirect
    github.com/alibabacloud-go/darabonba-openapi v0.1.18 // indirect
    github.com/alibabacloud-go/debug v0.0.0-20190504072949-9472017b5c68 // indirect
    github.com/alibabacloud-go/endpoint-util v1.1.1 // indirect
    github.com/alibabacloud-go/openapi-util v0.0.11 // indirect
    github.com/alibabacloud-go/tea v1.1.18 // indirect
    github.com/alibabacloud-go/tea-utils v1.4.4 // indirect
    github.com/alibabacloud-go/tea-xml v1.1.2 // indirect
    github.com/aliyun/credentials-go v1.2.3 // indirect
    github.com/anchore/go-logger v0.0.0-20230531193951-db5ae83e7dbe // indirect
    github.com/anchore/go-macholibre v0.0.0-20220308212642-53e6d0aaf6fb // indirect
    github.com/anchore/go-struct-converter v0.0.0-20221118182256-c68fdcfa2092 // indirect
    github.com/anchore/packageurl-go v0.1.1-0.20230104203445-02e0a6721501 // indirect
    github.com/anchore/stereoscope v0.0.0-20230727211946-d1f3d766295e // indirect
    github.com/anchore/syft v0.84.1 // indirect
    github.com/andybalholm/brotli v1.0.4 // indirect
    github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
    github.com/armon/go-metrics v0.4.1 // indirect
    github.com/armon/go-radix v1.0.0 // indirect
    github.com/aws/aws-sdk-go-v2 v1.16.16 // indirect
    github.com/aws/aws-sdk-go-v2/config v1.17.8 // indirect
    github.com/aws/aws-sdk-go-v2/credentials v1.12.21 // indirect
    github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.17 // indirect
    github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.23 // indirect
    github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.17 // indirect
    github.com/aws/aws-sdk-go-v2/internal/ini v1.3.24 // indirect
    github.com/aws/aws-sdk-go-v2/service/ecr v1.15.0 // indirect
    github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.12.0 // indirect
    github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.17 // indirect
    github.com/aws/aws-sdk-go-v2/service/kms v1.18.11 // indirect
    github.com/aws/aws-sdk-go-v2/service/sso v1.11.23 // indirect
    github.com/aws/aws-sdk-go-v2/service/ssooidc v1.13.6 // indirect
    github.com/aws/aws-sdk-go-v2/service/sts v1.16.19 // indirect
    github.com/aws/smithy-go v1.13.3 // indirect
    github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220517224237-e6f29200ae04 // indirect
    github.com/becheran/wildmatch-go v1.0.0 // indirect
    github.com/blang/semver v3.5.1+incompatible // indirect
    github.com/bmatcuk/doublestar/v4 v4.6.0 // indirect
    github.com/cenkalti/backoff/v3 v3.2.2 // indirect
    github.com/chrismellard/docker-credential-acr-env v0.0.0-20220119192733-fe33c00cee21 // indirect
    github.com/clbanning/mxj/v2 v2.5.6 // indirect
    github.com/cloudflare/circl v1.3.3 // indirect
    github.com/cockroachdb/apd/v2 v2.0.2 // indirect
    github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect
    github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
    github.com/coreos/go-oidc/v3 v3.4.0 // indirect
    github.com/cyberphone/json-canonicalization v0.0.0-20210823021906-dc406ceaf94b // indirect
    github.com/deitch/magic v0.0.0-20230404182410-1ff89d7342da // indirect
    github.com/dimchansky/utfbom v1.1.1 // indirect
    github.com/distribution/distribution v2.8.2+incompatible // indirect
    github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 // indirect
    github.com/dustin/go-humanize v1.0.1 // indirect
    github.com/emicklei/proto v1.10.0 // indirect
    github.com/emirpasic/gods v1.18.1 // indirect
    github.com/evanphx/json-patch/v5 v5.6.0 // indirect
    github.com/facebookincubator/nvdtools v0.1.5 // indirect
    github.com/fairwindsops/pluto/v5 v5.17.0 // indirect
    github.com/fluxcd/helm-controller/api v0.35.0 // indirect
    github.com/fluxcd/pkg/apis/acl v0.1.0 // indirect
    github.com/fluxcd/pkg/apis/kustomize v1.1.1 // indirect
    github.com/fluxcd/pkg/apis/meta v1.1.1 // indirect
    github.com/fluxcd/source-controller/api v1.0.1 // indirect
    github.com/fsnotify/fsnotify v1.6.0 // indirect
    github.com/gabriel-vasile/mimetype v1.4.2 // indirect
    github.com/ghodss/yaml v1.0.0 // indirect
    github.com/github/go-spdx/v2 v2.1.2 // indirect
    github.com/go-chi/chi v4.1.2+incompatible // indirect
    github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
    github.com/go-git/go-billy/v5 v5.5.0 // indirect
    github.com/go-logr/stdr v1.2.2 // indirect
    github.com/go-openapi/analysis v0.21.4 // indirect
    github.com/go-openapi/errors v0.20.3 // indirect
    github.com/go-openapi/loads v0.21.2 // indirect
    github.com/go-openapi/runtime v0.24.2 // indirect
    github.com/go-openapi/spec v0.20.7 // indirect
    github.com/go-openapi/strfmt v0.21.3 // indirect
    github.com/go-openapi/validate v0.22.0 // indirect
    github.com/go-piv/piv-go v1.10.0 // indirect
    github.com/go-restruct/restruct v1.2.0-alpha // indirect
    github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
    github.com/golang/glog v1.1.0 // indirect
    github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
    github.com/golang/snappy v0.0.4 // indirect
    github.com/google/certificate-transparency-go v1.1.6 // indirect
    github.com/google/gnostic-models v0.6.8 // indirect
    github.com/google/go-github/v45 v45.2.0 // indirect
    github.com/google/go-querystring v1.1.0 // indirect
    github.com/google/licensecheck v0.3.1 // indirect
    github.com/google/s2a-go v0.1.3 // indirect
    github.com/google/trillian v1.5.2 // indirect
    github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
    github.com/googleapis/gax-go/v2 v2.8.0 // indirect
    github.com/hashicorp/errwrap v1.1.0 // indirect
    github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
    github.com/hashicorp/go-hclog v1.3.1 // indirect
    github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
    github.com/hashicorp/go-multierror v1.1.1 // indirect
    github.com/hashicorp/go-plugin v1.4.5 // indirect
    github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
    github.com/hashicorp/go-rootcerts v1.0.2 // indirect
    github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 // indirect
    github.com/hashicorp/go-secure-stdlib/parseutil v0.1.7 // indirect
    github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
    github.com/hashicorp/go-sockaddr v1.0.2 // indirect
    github.com/hashicorp/go-uuid v1.0.3 // indirect
    github.com/hashicorp/golang-lru v0.5.4 // indirect
    github.com/hashicorp/hcl v1.0.0 // indirect
    github.com/hashicorp/vault/api v1.8.0 // indirect
    github.com/hashicorp/vault/sdk v0.6.0 // indirect
    github.com/hashicorp/yamux v0.1.1 // indirect
    github.com/in-toto/in-toto-golang v0.3.4-0.20220709202702-fa494aaa0add // indirect
    github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
    github.com/jedisct1/go-minisign v0.0.0-20211028175153-1c139d1cc84b // indirect
    github.com/jellydator/ttlcache/v2 v2.11.1 // indirect
    github.com/jinzhu/copier v0.3.5 // indirect
    github.com/jmespath/go-jmespath v0.4.0 // indirect
    github.com/kevinburke/ssh_config v1.2.0 // indirect
    github.com/klauspost/pgzip v1.2.5 // indirect
    github.com/knqyf263/go-rpmdb v0.0.0-20230301153543-ba94b245509b // indirect
    github.com/letsencrypt/boulder v0.0.0-20220929215747-76583552c2be // indirect
    github.com/magiconair/properties v1.8.7 // indirect
    github.com/microsoft/go-rustaudit v0.0.0-20220730194248-4b17361d90a5 // indirect
    github.com/miekg/pkcs11 v1.1.1 // indirect
    github.com/mitchellh/go-homedir v1.1.0 // indirect
    github.com/mitchellh/go-testing-interface v1.14.1 // indirect
    github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
    github.com/mitchellh/mapstructure v1.5.0 // indirect
    github.com/mkmik/multierror v0.3.0 // indirect
    github.com/moby/moby v24.0.2+incompatible // indirect
    github.com/mozillazg/docker-credential-acr-helper v0.3.0 // indirect
    github.com/mpvl/unique v0.0.0-20150818121801-cbe035fff7de // indirect
    github.com/nwaples/rardecode v1.1.0 // indirect
    github.com/oklog/run v1.1.0 // indirect
    github.com/oklog/ulid v1.3.1 // indirect
    github.com/olekukonko/tablewriter v0.0.5 // indirect
    github.com/open-policy-agent/opa v0.45.0 // indirect
    github.com/opentracing/opentracing-go v1.2.0 // indirect
    github.com/otiai10/copy v1.12.0 // indirect
    github.com/pelletier/go-toml v1.9.5 // indirect
    github.com/pelletier/go-toml/v2 v2.0.8 // indirect
    github.com/pierrec/lz4 v2.6.1+incompatible // indirect
    github.com/pierrec/lz4/v4 v4.1.15 // indirect
    github.com/pjbgf/sha1cd v0.3.0 // indirect
    github.com/protocolbuffers/txtpbfmt v0.0.0-20220428173112-74888fd59c2b // indirect
    github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
    github.com/ryanuber/go-glob v1.0.0 // indirect
    github.com/sassoftware/go-rpmutils v0.2.0 // indirect
    github.com/sassoftware/relic v0.0.0-20210427151427-dfb082b79b74 // indirect
    github.com/scylladb/go-set v1.0.3-0.20200225121959-cc7b2070d91e // indirect
    github.com/secure-systems-lab/go-securesystemslib v0.4.0 // indirect
    github.com/segmentio/ksuid v1.0.4 // indirect
    github.com/sergi/go-diff v1.3.1 // indirect
    github.com/shibumi/go-pathspec v1.3.0 // indirect
    github.com/sigstore/cosign v1.13.1 // indirect
    github.com/sigstore/fulcio v0.6.0 // indirect
    github.com/sigstore/rekor v0.12.1-0.20220915152154-4bb6f441c1b2 // indirect
    github.com/sigstore/sigstore v1.4.4 // indirect
    github.com/skeema/knownhosts v1.2.0 // indirect
    github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
    github.com/spdx/tools-golang v0.5.2 // indirect
    github.com/spf13/afero v1.9.5 // indirect
    github.com/spf13/jwalterweatherman v1.1.0 // indirect
    github.com/spf13/viper v1.16.0 // indirect
    github.com/spiffe/go-spiffe/v2 v2.1.1 // indirect
    github.com/stretchr/objx v0.5.0 // indirect
    github.com/subosito/gotenv v1.4.2 // indirect
    github.com/sylabs/sif/v2 v2.8.1 // indirect
    github.com/sylabs/squashfs v0.6.1 // indirect
    github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
    github.com/tchap/go-patricia/v2 v2.3.1 // indirect
    github.com/tent/canonical-json-go v0.0.0-20130607151641-96e4ba3a7613 // indirect
    github.com/thales-e-security/pool v0.0.2 // indirect
    github.com/therootcompany/xz v1.0.1 // indirect
    github.com/theupdateframework/go-tuf v0.5.2-0.20220930112810-3890c1e7ace4 // indirect
    github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect
    github.com/tjfoc/gmsm v1.3.2 // indirect
    github.com/transparency-dev/merkle v0.0.2 // indirect
    github.com/ulikunitz/xz v0.5.10 // indirect
    github.com/vbatts/go-mtree v0.5.3 // indirect
    github.com/vbatts/tar-split v0.11.3 // indirect
    github.com/vifraa/gopom v0.2.1 // indirect
    github.com/wagoodman/go-partybus v0.0.0-20230516145632-8ccac152c651 // indirect
    github.com/wagoodman/go-progress v0.0.0-20230301185719-21920a456ad5 // indirect
    github.com/xanzy/go-gitlab v0.73.1 // indirect
    github.com/xanzy/ssh-agent v0.3.3 // indirect
    github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
    github.com/yashtewari/glob-intersection v0.1.0 // indirect
    github.com/zeebo/errs v1.2.2 // indirect
    go.mongodb.org/mongo-driver v1.11.6 // indirect
    go.opencensus.io v0.24.0 // indirect
    go.opentelemetry.io/otel v1.14.0 // indirect
    go.opentelemetry.io/otel/trace v1.14.0 // indirect
    go.uber.org/atomic v1.10.0 // indirect
    go.uber.org/multierr v1.8.0 // indirect
    go.uber.org/zap v1.24.0 // indirect
    golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
    golang.org/x/mod v0.12.0 // indirect
    golang.org/x/tools v0.13.0 // indirect
    gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect
    google.golang.org/api v0.122.0 // indirect
    gopkg.in/ini.v1 v1.67.0 // indirect
    gopkg.in/square/go-jose.v2 v2.6.0 // indirect
    gopkg.in/warnings.v0 v0.1.2 // indirect
    oras.land/oras-go/v2 v2.2.1 // indirect
    sigs.k8s.io/release-utils v0.7.3 // indirect
)

require (
    atomicgo.dev/cursor v0.2.0 // indirect
    atomicgo.dev/keyboard v0.2.9 // indirect
    github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
    github.com/BurntSushi/toml v1.2.1 // indirect
    github.com/MakeNowJust/heredoc v1.0.0 // indirect
    github.com/Masterminds/goutils v1.1.1 // indirect
    github.com/Masterminds/semver/v3 v3.2.1 // indirect
    github.com/Masterminds/sprig/v3 v3.2.3 // indirect
    github.com/Masterminds/squirrel v1.5.4 // indirect
    github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
    github.com/beorn7/perks v1.0.1 // indirect
    github.com/cespare/xxhash/v2 v2.2.0 // indirect
    github.com/chai2010/gettext-go v1.0.2 // indirect
    github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
    github.com/containerd/containerd v1.7.1 // indirect
    github.com/cyphar/filepath-securejoin v0.2.4 // indirect
    github.com/davecgh/go-spew v1.1.1 // indirect
    github.com/docker/cli v24.0.2+incompatible // indirect
    github.com/docker/distribution v2.8.2+incompatible // indirect
    github.com/docker/docker v24.0.2+incompatible // indirect
    github.com/docker/docker-credential-helpers v0.7.0 // indirect
    github.com/docker/go-connections v0.4.0 // indirect
    github.com/docker/go-metrics v0.0.1 // indirect
    github.com/docker/go-units v0.5.0 // indirect
    github.com/emicklei/go-restful/v3 v3.10.2 // indirect
    github.com/evanphx/json-patch v5.6.0+incompatible // indirect
    github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
    github.com/fatih/color v1.15.0 // indirect
    github.com/go-errors/errors v1.4.2 // indirect
    github.com/go-gorp/gorp/v3 v3.1.0 // indirect
    github.com/go-logr/logr v1.2.4 // indirect
    github.com/go-openapi/jsonpointer v0.19.6 // indirect
    github.com/go-openapi/jsonreference v0.20.2 // indirect
    github.com/go-openapi/swag v0.22.3 // indirect
    github.com/go-playground/locales v0.14.1 // indirect
    github.com/go-playground/universal-translator v0.18.1 // indirect
    github.com/gobwas/glob v0.2.3 // indirect
    github.com/gogo/protobuf v1.3.2 // indirect
    github.com/golang/protobuf v1.5.3 // indirect
    github.com/google/btree v1.1.2 // indirect
    github.com/google/gnostic v0.6.9 // indirect
    github.com/google/gofuzz v1.2.0 // indirect
    github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
    github.com/google/uuid v1.3.0 // indirect
    github.com/gookit/color v1.5.4 // indirect
    github.com/gorilla/mux v1.8.0 // indirect
    github.com/gosuri/uitable v0.0.4 // indirect
    github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
    github.com/hashicorp/go-version v1.6.0
    github.com/hashicorp/hc-install v0.5.2
    github.com/hashicorp/terraform-exec v0.18.1
    github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 // indirect
    github.com/huandu/xstrings v1.4.0 // indirect
    github.com/iancoleman/orderedmap v0.0.0-20190318233801-ac98e3ecb4b0 // indirect
    github.com/imdario/mergo v0.3.15 // indirect
    github.com/inconshreveable/mousetrap v1.1.0 // indirect
    github.com/jmoiron/sqlx v1.3.5 // indirect
    github.com/josharian/intern v1.0.0 // indirect
    github.com/json-iterator/go v1.1.12 // indirect
    github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
    github.com/klauspost/compress v1.16.5 // indirect
    github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
    github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
    github.com/leodido/go-urn v1.2.4 // indirect
    github.com/lib/pq v1.10.9 // indirect
    github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
    github.com/lithammer/fuzzysearch v1.1.8 // indirect
    github.com/mailru/easyjson v0.7.7 // indirect
    github.com/mattn/go-colorable v0.1.13 // indirect
    github.com/mattn/go-isatty v0.0.19
    github.com/mattn/go-runewidth v0.0.15 // indirect
    github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
    github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
    github.com/mitchellh/copystructure v1.2.0 // indirect
    github.com/mitchellh/go-wordwrap v1.0.1 // indirect
    github.com/mitchellh/reflectwalk v1.0.2 // indirect
    github.com/moby/locker v1.0.1 // indirect
    github.com/moby/spdystream v0.2.0 // indirect
    github.com/moby/term v0.0.0-20221205130635-1aeaba878587 // indirect
    github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    github.com/modern-go/reflect2 v1.0.2 // indirect
    github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
    github.com/morikuni/aec v1.0.0 // indirect
    github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
    github.com/opencontainers/go-digest v1.0.0 // indirect
    github.com/opencontainers/image-spec v1.1.0-rc4 // indirect
    github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
    github.com/pkg/errors v0.9.1 // indirect
    github.com/pmezard/go-difflib v1.0.0 // indirect
    github.com/prometheus/client_golang v1.16.0 // indirect
    github.com/prometheus/client_model v0.4.0 // indirect
    github.com/prometheus/common v0.42.0 // indirect
    github.com/prometheus/procfs v0.10.1 // indirect
    github.com/rivo/uniseg v0.4.4 // indirect
    github.com/rubenv/sql-migrate v1.4.0 // indirect
    github.com/russross/blackfriday/v2 v2.1.0 // indirect
    github.com/shopspring/decimal v1.3.1 // indirect
    github.com/sirupsen/logrus v1.9.3 // indirect
    github.com/spf13/cast v1.5.1 // indirect
    github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
    github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
    github.com/xeipuuv/gojsonschema v1.2.0 // indirect
    github.com/xlab/treeprint v1.2.0 // indirect
    github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
    go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
    golang.org/x/crypto v0.13.0 // indirect
    golang.org/x/net v0.15.0 // indirect
    golang.org/x/oauth2 v0.8.0 // indirect
    golang.org/x/sync v0.3.0 // indirect
    golang.org/x/sys v0.12.0 // indirect
    golang.org/x/term v0.12.0 // indirect
    golang.org/x/text v0.13.0 // indirect
    golang.org/x/time v0.3.0 // indirect
    golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
    google.golang.org/appengine v1.6.7 // indirect
    google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
    google.golang.org/grpc v1.55.0 // indirect
    google.golang.org/protobuf v1.30.0 // indirect
    gopkg.in/inf.v0 v0.9.1 // indirect
    gopkg.in/yaml.v2 v2.4.0
    gopkg.in/yaml.v3 v3.0.1 // indirect
    k8s.io/api v0.28.2
    k8s.io/apiextensions-apiserver v0.27.3 // indirect
    k8s.io/apimachinery v0.28.2
    k8s.io/apiserver v0.27.3 // indirect
    k8s.io/cli-runtime v0.27.4 // indirect
    k8s.io/component-base v0.27.4 // indirect
    k8s.io/klog/v2 v2.100.1
    k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
    k8s.io/kubectl v0.27.4 // indirect
    k8s.io/utils v0.0.0-20230505201702-9f6742963106 // indirect
    oras.land/oras-go v1.2.3
    sigs.k8s.io/controller-runtime v0.15.0
    sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
    sigs.k8s.io/kustomize/api v0.13.4 // indirect
    sigs.k8s.io/kustomize/kyaml v0.14.2 // indirect
    sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
    sigs.k8s.io/yaml v1.3.0 // indirect
)