Nested-Openshift: provisioning tool to parse Public image registry with credentials

Bug #1773269 reported by Sarath on 2018-05-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
High
Dinesh Bakiaraj
Trunk
Fix Committed
High
Dinesh Bakiaraj

Bug Description

This impacts both K8s & Openshift and the Provisioning tool not populating the Credentials required for Public-registry image.

[root@oc-vm1 manifests]# cat ../../common.env
#
# Sample common.env for Contrail-kubernetes module install in Nested mode.
#

# ---
# Address of docker regisry to pull/push containers
# Default: $_CONTRAIL_REGISTRY_IP:5000
CONTRAIL_REGISTRY="hub.juniper.net/contrail"
CONTRAIL_CONTAINER_TAG="5.0.0-0.40"
CONTRAIL_REGISTRY_USERNAME="JNPR-Customer200"
CONTRAIL_REGISTRY_PASSWORD="****"

# ---

Sarath (nsarath) on 2018-05-24
description: updated
description: updated

Review in progress for https://review.opencontrail.org/44004
Submitter: Dinesh Bakiaraj (<email address hidden>)

Reviewed: https://review.opencontrail.org/44004
Committed: http://github.com/Juniper/contrail-container-builder/commit/567dd4d0961132cf6b7429f0328031b0d1efca5f
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 567dd4d0961132cf6b7429f0328031b0d1efca5f
Author: dineshb-jnpr <email address hidden>
Date: Wed Jun 20 17:00:16 2018 -0700

Rename K8s templates and add image repo secret env

These changes are for the following:

1. Add the ability to specify K8s secret for secured image repositories,
in Kubernetes single yaml generation templates.

Secrets can be specified with follwoing var in common.env file:
KUBERNETES_SECRET_CONTRAIL_REPO="<secret-name>"

User is resposible to make sure that this secret exists.

2. Renamed Contrail single-yaml generation templates with appropriate
names.

3. Added detailed README to introduce these templates.

Change-Id: Ieae0d51bb5aa2f883a6ba9d5c59275682c14e55c
Closes-Bug: #1773269

Review in progress for https://review.opencontrail.org/44059
Submitter: Dinesh Bakiaraj (<email address hidden>)

Review in progress for https://review.opencontrail.org/44060
Submitter: Dinesh Bakiaraj (<email address hidden>)

Reviewed: https://review.opencontrail.org/44060
Committed: http://github.com/Juniper/contrail-container-builder/commit/ac2fb32f52f27a03d500d2f09b1d3e565bf91255
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit ac2fb32f52f27a03d500d2f09b1d3e565bf91255
Author: dineshb-jnpr <email address hidden>
Date: Fri Jun 22 13:32:00 2018 -0700

Rename yaml files to standard extension format

Renaming YAML files to have .yaml extension, per official recommendation.

Change-Id: I3edebc8737070b22f1b5f49be5b54ba90c98ccb9
Closes-Bug: #1773269

Reviewed: https://review.opencontrail.org/44059
Committed: http://github.com/Juniper/contrail-container-builder/commit/6d4719bb38000227472d0696eaf617e4f77a6b30
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 6d4719bb38000227472d0696eaf617e4f77a6b30
Author: dineshb-jnpr <email address hidden>
Date: Fri Jun 22 13:26:23 2018 -0700

Rename K8s templates and add image repo secret env

These changes are for the following:

1. Add the ability to specify K8s secret for secured image repositories,
in Kubernetes single yaml generation templates.

Secrets can be specified with follwoing var in common.env file:
KUBERNETES_SECRET_CONTRAIL_REPO="<secret-name>"

User is resposible to make sure that this secret exists.

2. Renamed Contrail single-yaml generation templates with appropriate
names.

3. Added detailed README to introduce these templates.

Change-Id: I61513e00b0fb61b78eb73d160cfd85b48c3e46e4
Closes-Bug: #1773269

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers