跳转到主内容

Trident Helm安装失败、并显示:<.values.imagePull频>:范围无法迭代

Views:
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
snapx
Last Updated:

适用场景

  • Astra三端
  • 使用内部私有注册表进行Helm安装(无法访问Internet)

问题描述

背景:
对于不允许直接访问Internet的环境、可以设置一个私有海港容器来使用内部注册表服务。由于典型 部署(连接到外部注册表)使用标准注册表密钥类型、因此会 具有以下 数据结构的内部文件(在此示例中称为"regcred")创建一个自定义密钥

"Registery Domain Name" - <domain_name.local>
Username
Password

问题描述:
从Trident文档:使用Helm (脱机模式)部署Trident操作员,运行以下安装命令可能会产生错误:

# helm install trident-operator netapp-trident/trident-operator --version 100.2502.0 --create-namespace -n trident-system --set imageRegistry=domain_name_example.local/itdevops --set imagePullSecrets=regcred

Error: INSTALLATION FAILED: template: trident-operator/templates/serviceaccount.yaml:17:17: executing "trident-operator/templates/serviceaccount.yaml" at <.Values.imagePullSecrets>: range can't iterate over regcred

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.