Have spent days trying to track down the issue, but it looks like even with proper credentials, Rancher 2.x’s Add Catalog feature does not like the YAML index spit out by Artifactory. (This repo works with the helm cli tools)
apiVersion: v1
entries:
awx:
- apiVersion: v1
appVersion: 0.0.6
created: 2019-09-13T20:44:23.566Z
description: AWX provides a web-based user interface, REST API, and task engine
built on top of Ansible.
digest: 16ea823ba0840c0a331585aed43075676d8ab25b3976936e0c400176ac8f7fb0
engine: gotpl
home: https://github.com/ansible/awx
icon: https://www.ansible.com/hubfs/2017_Images/BrandPage/Brand-Assets/Tower/Ansible_RH_AnsibleTower_RGB_RedWhite.svg?t=1528996684045
keywords:
- Ansible AWX
- Automation configuration deployment
- Devops
- Web-based GUI
maintainers:
- email: skwjdgh1@gmail.com
name: Najeongho
name: awx
sources:
- https://github.com/Najeongho/charts/tree/master/incubator/awx
urls:
- https://XXXXREDACTED_HOST_NAMEXXXX/artifactory/rosetta-helm-virtual/awx-1.0.0.tgz
version: 0.0.6
generated: 2019-09-13T20:44:23.566Z
I get the following response from Rancher:
Error while parsing response from [https://XXXHOST_REDACTEDXXX/artifactory/rosetta-helm-virtual/index.yaml/index.yaml], error: yaml: line 9: did not find expected <document start>
Is it because of a missing — preamble?
-Thom