Add custom docker registry to KubernetesCluster

Allow access to private docker registry using docker argument
'--insecure-registry'.
Add new field for docker private registry host ip or domain name.

Partially implements: blueprint k8s-docker-enterprise-hub-support

Change-Id: I725c0b6a2bdbfe6eb9e627266411286fe44bfae3
This commit is contained in:
Tetiana Lashchova
2015-10-21 18:28:35 +03:00
parent 0549313491
commit 3b1fba08b8
7 changed files with 45 additions and 6 deletions

View File

@@ -63,6 +63,7 @@ Application:
gatewayCount: $.appConfiguration.gatewayCount
gatewayNodes: repeat($gatewayNode, $.appConfiguration.maxGatewayCount)
dockerRegistry: $.appConfiguration.dockerRegistry
dockerMirror: $.appConfiguration.dockerMirror
Forms:
@@ -164,9 +165,16 @@ Forms:
type: string
label: Custom Docker registry URL
description: >-
URL of docker repository mirror to use.
Host IP or domain name of custom Docker registry to use.
Leave empty to use Docker default.
required: false
- name: dockerMirror
type: string
label: Docker registry mirror URL
description: >-
URL of Docker registry mirror to use.
Leave empty to not use one.
required: false
- instanceConfiguration:
fields: