我可以看到Argo似乎支持OCI存储库,但我似乎不能让它工作。
首先,我似乎只能通过CLI添加存储库,因为没有启用OCI的选项。argocd repo add <uri> --type helm --name name --enable-oci
但是,当使用UI添加应用程序时,argo服务器在选择存储库时会记录“不支持的协议方案”。我已经尝试使用HTTPS和空的URI (如问题中所述)。
是否可以将UI用于OCI存储库,还是只能使用命令行?
我使用的是Argo版本2.0.4
发布于 2021-11-12 16:04:29
我使用了下面的命令,它对我很有效。
argocd repo add <acr name>.azurecr.io --type helm --name <some name> --enable-oci --username <username> --password <password>.
您还可以尝试以声明方式配置它:issue-7121
apiVersion: v1
stringData:
enableOCI: "true"
name: my-oci-charts
password: token-password
type: helm
url: registry.gitlab.com/asdasd/charts
username: token-name
kind: Secret
metadata:
labels:
argocd.argoproj.io/secret-type: repository
name: my-oci-charts
https://stackoverflow.com/questions/68219458
复制相似问题