Spinnaker Nexus Integration

♀尐吖头ヾ 提交于 2020-01-25 11:11:46

问题


I'm facing issue while integrating spinnaker with Nexus. Basically, here is my process - Building docker image using Jenkins and uploading to Nexus. Next, want to trigger spinnaker pipelines based on new image available on Nexus to deploy apps on kubernetes.

I've used these 2 commands

hal config provider docker-registry enable

hal config provider docker-registry account add my-docker-registry \
    --address <pvtIP>:9082 \
    --repositories repository/<repoName> \
    --username <userName> \
    --password

Getting error as below

+ Get current deployment
  Success
- Add the my-docker-registry account
  Failure
Problems in default.provider.dockerRegistry.my-docker-registry:
! ERROR Unable to fetch tags from the docker repository:
  repository/test-docker-snapshots/, Unrecognized SSL message, plaintext
  connection?
? Can the provided user access this repository?
- WARNING None of your supplied repositories contain any tags.
  Spinnaker will not be able to deploy any docker images.
? Push some images to your registry.
- Failed to add account my-docker-registry for provider
  dockerRegistry.

is it mandatory to have nexus on HTTPS ? I'm running on http, and using in internal network only...

please advise.. thanks..

来源:https://stackoverflow.com/questions/59067591/spinnaker-nexus-integration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!