Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{"auths":{
{% if artifactory_username is defined and artifactory_username != "" %}
"docker-na-public.artifactory.swg-devops.com/wiotp-docker-local":{"username":"{{ artifactory_username }}","password":"{{ artifactory_token }}","auth":"{{ (artifactory_username ~ ':' ~ artifactory_token) | b64encode }}"},
"docker-na-proxy-svl.artifactory.swg-devops.com/wiotp-docker-local":{"username":"{{ artifactory_username }}","password":"{{ artifactory_token }}","auth":"{{ (artifactory_username ~ ':' ~ artifactory_token) | b64encode }}"},
"docker-na-proxy-rtp.artifactory.swg-devops.com/wiotp-docker-local":{"username":"{{ artifactory_username }}","password":"{{ artifactory_token }}","auth":"{{ (artifactory_username ~ ':' ~ artifactory_token) | b64encode }}"},
{% endif %}
"cp.icr.io/cp":{"username":"{{ mas_entitlement_username }}","password":"{{ mas_entitlement_key }}","auth":"{{ (mas_entitlement_username ~ ':' ~ mas_entitlement_key) | b64encode }}"}}}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
artifactoryAuth: "{{ artifactoryAuthStr | b64encode }}"
content:
- '{"auths":{"docker-na-public.artifactory.swg-devops.com/wiotp-docker-local": {"username":"{{artifactory_username}}","password":"{{artifactory_token}}","auth":"{{artifactoryAuth}}"}'
- ',"docker-na-proxy-svl.artifactory.swg-devops.com/wiotp-docker-local": {"username":"{{artifactory_username}}","password":"{{artifactory_token}}","auth":"{{artifactoryAuth}}"}'
- ',"docker-na-proxy-rtp.artifactory.swg-devops.com/wiotp-docker-local": {"username":"{{artifactory_username}}","password":"{{artifactory_token}}","auth":"{{artifactoryAuth}}"}'
- '}'
- '}'
kubernetes.core.k8s:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
"username": "{{ artifactory_username }}",
"password": "{{ artifactory_token }}",
"auth": "{{ (artifactory_username ~ ':' ~ artifactory_token) | b64encode }}"
},
"docker-na-proxy-svl.artifactory.swg-devops.com/wiotp-docker-local": {
"username": "{{ artifactory_username }}",
"password": "{{ artifactory_token }}",
"auth": "{{ (artifactory_username ~ ':' ~ artifactory_token) | b64encode }}"
},
"docker-na-proxy-rtp.artifactory.swg-devops.com/wiotp-docker-local": {
"username": "{{ artifactory_username }}",
"password": "{{ artifactory_token }}",
"auth": "{{ (artifactory_username ~ ':' ~ artifactory_token) | b64encode }}"
{% if icr_username is defined and icr_username != "" %}
},
{% else %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
"email":"{{ artifactory_username }}",
"auth":"{{ artifactory_auth | b64encode }}"
},
"docker-na-proxy-svl.artifactory.swg-devops.com": {
"email":"{{ artifactory_username }}",
"auth":"{{ artifactory_auth | b64encode }}"
},
"docker-na-proxy-rtp.artifactory.swg-devops.com": {
"email":"{{ artifactory_username }}",
"auth":"{{ artifactory_auth | b64encode }}"
},
{% endif %}
{% if registry_auth is defined and registry_auth != ":" %}
"{{ registry_public_url }}": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"quota_type": "quick_burn",
"time_to_live": "36",
"size":"{{ fyre_cluster_size }}",
"site": "{{ fyre_site }}",
"product_group_id": "{{ fyre_product_id }}",
"ocp_version": "{{ ocp_version }}",
"haproxy": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ The default exclusions are:
- icr.io
- cp.icr.io
- docker-na-public.artifactory.swg-devops.com
- docker-na-proxy-svl.artifactory.swg-devops.com
- docker-na-proxy-rtp.artifactory.swg-devops.com

These can be changed by setting `airgap_network_exclusions` explicitly.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
airgap_network_exclusions: "quay.io registry.redhat.io registry.connect.redhat.com gcr.io nvcr.io icr.io cp.icr.io docker-na-public.artifactory.swg-devops.com"
airgap_network_exclusions: "quay.io registry.redhat.io registry.connect.redhat.com gcr.io nvcr.io icr.io cp.icr.io docker-na-public.artifactory.swg-devops.com docker-na-proxy-svl.artifactory.swg-devops.com docker-na-proxy-rtp.artifactory.swg-devops.com"

registry_private_ca_file: "{{ lookup('env', 'REGISTRY_PRIVATE_CA_FILE') }}"
registry_private_ca_crt: "{{ lookup('file', registry_private_ca_file) }}"
5 changes: 3 additions & 2 deletions ibm/mas_devops/roles/suite_install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ Optional fact, if not provided the role will use the default cluster subdomain
Defines the instance id to be used for MAS installation

### mas_icr_cp
Defines the entitled registry from the images should be pulled from. Set this to `cp.icr.io/cp` when installing release version of MAS or `docker-na-public.artifactory.swg-devops.com/wiotp-docker-local` for dev
Defines the entitled registry from the images should be pulled from. Set this to `cp.icr.io/cp` when installing release version of MAS, `docker-na-public.artifactory.swg-devops.com/wiotp-docker-local` for dev
unless when on fyre in which case use 'docker-na-proxy-svl.artifactory.swg-devops.com/wiotp-docker-local' or 'docker-na-proxy-rtp.artifactory.swg-devops.com/wiotp-docker-local' as appropriate

### mas_icr_cpopen
Defines the registry for non entitled images, such as operators. Set this to `icr.io/cpopen` when installing release version of MAS or `docker-na-public.artifactory.swg-devops.com/wiotp-docker-local/cpopen` for dev
Defines the registry for non entitled images, such as operators. Set this to `icr.io/cpopen` when installing release version of MAS or `docker-na-public.artifactory.swg-devops.com/wiotp-docker-local/cpopen` for dev (or corresponding fyre proxies as appropriate)

### mas_entitlement_username
Username for entitled registry. This username will be used to create the image pull secret. Set to `cp` when installing release or use your `w3Id` for dev.
Expand Down