diff options
author | Samuel Munilla <smunilla@redhat.com> | 2016-07-27 09:14:42 -0400 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2016-08-26 10:57:45 -0400 |
commit | 2fe8715d9935dc7372dab68fa2b93a702265a119 (patch) | |
tree | f29dbb53a9b17f7213c90d4975d685f47b6ca302 /utils/src/ooinstall/variants.py | |
parent | 577195e3eefe19b95e39f0f52834cd3dc8f77cdf (diff) | |
download | openshift-2fe8715d9935dc7372dab68fa2b93a702265a119.tar.gz openshift-2fe8715d9935dc7372dab68fa2b93a702265a119.tar.bz2 openshift-2fe8715d9935dc7372dab68fa2b93a702265a119.tar.xz openshift-2fe8715d9935dc7372dab68fa2b93a702265a119.zip |
Add support for Atomic Registry Installs
Add the Registry deployment subtype as an option in the quick installer.
Diffstat (limited to 'utils/src/ooinstall/variants.py')
-rw-r--r-- | utils/src/ooinstall/variants.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/utils/src/ooinstall/variants.py b/utils/src/ooinstall/variants.py index c723c7e61..11817c00e 100644 --- a/utils/src/ooinstall/variants.py +++ b/utils/src/ooinstall/variants.py @@ -16,10 +16,11 @@ installer_log = logging.getLogger('installer') class Version(object): - def __init__(self, name, ansible_key): + def __init__(self, name, ansible_key, subtype=''): self.name = name # i.e. 3.0, 3.1 self.ansible_key = ansible_key + self.subtype = subtype class Variant(object): @@ -43,6 +44,12 @@ OSE = Variant('openshift-enterprise', 'OpenShift Container Platform', ] ) +REG = Variant('openshift-enterprise', 'Registry', + [ + Version('3.2', 'openshift-enterprise', 'registry'), + ] +) + origin = Variant('origin', 'OpenShift Origin', [ Version('1.2', 'origin'), @@ -58,8 +65,8 @@ LEGACY = Variant('openshift-enterprise', 'OpenShift Container Platform', ) # Ordered list of variants we can install, first is the default. -SUPPORTED_VARIANTS = (OSE, origin, LEGACY) -DISPLAY_VARIANTS = (OSE, ) +SUPPORTED_VARIANTS = (OSE, REG, origin, LEGACY) +DISPLAY_VARIANTS = (OSE, REG,) def find_variant(name, version=None): |