是否可以将 Kubernetes manifest 添加为 HelmRelease 的依赖项?

问题描述

两周前我开始使用 Flux,一切都很顺利,谢谢! 现在的问题...我们正在将 cert-manager 安装为 HelmRelease,但我们遇到了全新 AKS 安装的问题。 颁发者和证书应该依赖于 cert-manager HelmRelease,但我们没有选择这样做,并且 kustomize 失败,因为尚未安装 cert-manager。

颁发者清单文件

apiVersion: cert-manager.io/v1
kind: Issuer
Metadata:
  name: linkerd-trust-anchor
  namespace: linkerd
spec:
  ca:
    secretName: linkerd-trust-anchor

证书清单文件

apiVersion: cert-manager.io/v1
kind: Certificate
Metadata:
  name: linkerd-identity-issuer
  namespace: linkerd
spec:
  secretName: linkerd-identity-issuer
  duration: 48h
  renewBefore: 25h
  issuerRef:
    name: linkerd-trust-anchor
    kind: Issuer
  commonName: identity.linkerd.cluster.local
  dnsNames:
    - identity.linkerd.cluster.local
  isCA: true
  privateKey:
    algorithm: ECDSA
  usages:
    - cert sign
    - crl sign
    - server auth
    - client auth

有什么我们可以做的吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)