0

我正在尝试从 helmChart 创建 jenkins,我在一年前使用过这种方式并且它有效,但现在它无法正常工作,当我尝试应用 yaml 文件时出现此错误kubectl apply -f helm.yaml -n jenkins

no matches for kind "HelmChart" in version "helm.cattle.io/v1"

helm.yaml

kind: HelmChart
metadata:
  name: jenkins
  namespace: jenkins
spec:
  chart: stable/jenkins
  targetNamespace: jenkins
  valuesContent: |-
    master:
      adminUser: admin
      adminPassword: admin
      image: jenkinsci/blueocean
      tag: latest
      jenkinsUriPrefix: /jenkins
      JCasC:
        authorizationStrategy: anyoneCanDoAnything
4

0 回答 0