kubevirt / api

KubeVirt API definition
Apache License 2.0
11 stars 6 forks source link

undefined: ocpconfigv1.TLSSecurityProfile #3

Closed Tatametheus closed 4 months ago

Tatametheus commented 9 months ago

I followed the instruction How to use it and could not make the demo work.

# kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1
../../go/pkg/mod/kubevirt.io/containerized-data-importer-api@v1.57.0-alpha1/pkg/apis/core/v1beta1/types.go:920:34: undefined: ocpconfigv1.TLSSecurityProfile
../../go/pkg/mod/kubevirt.io/containerized-data-importer-api@v1.57.0-alpha1/pkg/apis/core/v1beta1/zz_generated.deepcopy.go:196:23: undefined: configv1.TLSSecurityProfile
package main

import (
    "context"
    "kv/client/versioned"

    v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    "k8s.io/client-go/tools/clientcmd"
)

func main() {
    cfg, err := clientcmd.BuildConfigFromFlags("", "")
    if err != nil {
        panic(err)
    }
    client := versioned.NewForConfigOrDie(cfg)
    client.KubevirtV1().VirtualMachineInstances(v1.NamespaceAll).List(context.Background(), v1.ListOptions{})
}
kubevirt-bot commented 6 months ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

kubevirt-bot commented 5 months ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

kubevirt-bot commented 4 months ago

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

kubevirt-bot commented 4 months ago

@kubevirt-bot: Closing this issue.

In response to [this](https://github.com/kubevirt/api/issues/3#issuecomment-2165106568): >Rotten issues close after 30d of inactivity. >Reopen the issue with `/reopen`. >Mark the issue as fresh with `/remove-lifecycle rotten`. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.