Implement gating type
Fully implements gating type to be used by all provider types. Closes: #575 Change-Id: I30ebb76466b3c273519ca42a6f81d7df0ef52800
This commit is contained in:
parent
441ef0e3da
commit
0fd3e16f2c
@ -1,16 +1,12 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
# TODO: these two should move up to type level in the future
|
- ../../../../../type/gating/ephemeral/bootstrap/hostgenerator
|
||||||
- ../../../../../function/hostgenerator-m3
|
|
||||||
- ../../../../../function/hardwareprofile-example
|
|
||||||
- ../../catalogues
|
- ../../catalogues
|
||||||
- host-generation.yaml
|
- host-generation.yaml
|
||||||
|
|
||||||
transformers:
|
transformers:
|
||||||
# TODO: these two should move up to type level in the future
|
- ../../../../../type/gating/ephemeral/bootstrap/hostgenerator/replacements
|
||||||
- ../../../../../function/hostgenerator-m3/replacements
|
|
||||||
- ../../../../../function/hardwareprofile-example/replacements
|
|
||||||
# NOTE We can not use patchesStrategicMerge directive since Strategic Merge
|
# NOTE We can not use patchesStrategicMerge directive since Strategic Merge
|
||||||
# plugin has to be executed once all replacements has been done. Therefore
|
# plugin has to be executed once all replacements has been done. Therefore
|
||||||
# we need to load Strategic Merge plugin as an external plugin
|
# we need to load Strategic Merge plugin as an external plugin
|
||||||
|
@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- ../../../../function/ephemeral
|
- ../../../../type/gating/ephemeral/bootstrap
|
||||||
- ../catalogues
|
- ../catalogues
|
||||||
|
|
||||||
namespace: target-infra
|
namespace: target-infra
|
||||||
@ -14,4 +14,4 @@ patchesStrategicMerge:
|
|||||||
- baremetalhost.yaml
|
- baremetalhost.yaml
|
||||||
|
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../../function/ephemeral/replacements
|
- ../../../../type/gating/ephemeral/bootstrap/replacements
|
||||||
|
@ -3,11 +3,11 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
# TODO (dukov) It's recocommended to upload BareMetalHost objects separately
|
# TODO (dukov) It's recocommended to upload BareMetalHost objects separately
|
||||||
# otherwise nodes will hang in 'registering' state for quite a long time
|
# otherwise nodes will hang in 'registering' state for quite a long time
|
||||||
- ../../../../function/k8scontrol
|
- ../../../../type/gating/ephemeral/controlplane
|
||||||
- ../../target/catalogues # NOTE: use target networking for this phase
|
- ../../target/catalogues # NOTE: use target networking for this phase
|
||||||
- nodes
|
- nodes
|
||||||
|
|
||||||
namespace: target-infra
|
namespace: target-infra
|
||||||
|
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../../function/k8scontrol/replacements
|
- ../../../../type/gating/ephemeral/controlplane/replacements
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
resources:
|
resources:
|
||||||
- ../catalogues
|
- ../catalogues
|
||||||
- ../../../../composite/infra/
|
- ../../../../type/gating/ephemeral/initinfra-networking
|
||||||
|
|
||||||
commonLabels:
|
|
||||||
airshipit.org/stage: initinfra
|
|
||||||
|
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../../composite/infra/replacements
|
- ../../../../type/gating/ephemeral/initinfra-networking/replacements
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
resources:
|
resources:
|
||||||
- ../../../../function/baremetal-operator
|
- ../../../../type/gating/ephemeral/initinfra
|
||||||
- ../../../../function/hwcc
|
|
||||||
- ../../../../function/clusterctl
|
|
||||||
- ../catalogues
|
- ../catalogues
|
||||||
|
|
||||||
commonLabels:
|
|
||||||
airshipit.org/stage: initinfra
|
|
||||||
|
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../../function/baremetal-operator/replacements
|
- ../../../../type/gating/ephemeral/initinfra/replacements
|
||||||
|
@ -3,9 +3,9 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
# TODO (dukov) It's recocommended to upload BareMetalHost objects separately
|
# TODO (dukov) It's recocommended to upload BareMetalHost objects separately
|
||||||
# otherwise nodes will hang in 'registering' state for quite a long time
|
# otherwise nodes will hang in 'registering' state for quite a long time
|
||||||
- nodes
|
- ../../../../type/gating/target/controlplane
|
||||||
- ../../../../function/k8scontrol
|
|
||||||
- ../catalogues
|
- ../catalogues
|
||||||
|
- nodes
|
||||||
|
|
||||||
namespace: target-infra
|
namespace: target-infra
|
||||||
|
|
||||||
@ -13,4 +13,4 @@ commonLabels:
|
|||||||
airshipit.org/stage: initinfra
|
airshipit.org/stage: initinfra
|
||||||
|
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../../function/k8scontrol/replacements
|
- ../../../../type/gating/target/controlplane/replacements
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
resources:
|
resources:
|
||||||
- ../catalogues
|
- ../catalogues
|
||||||
- ../../../../composite/infra/
|
- ../../../../type/gating/target/initinfra-networking
|
||||||
- namespace.yaml
|
|
||||||
|
|
||||||
commonLabels:
|
|
||||||
airshipit.org/stage: initinfra
|
|
||||||
|
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../../composite/infra/replacements
|
- ../../../../type/gating/target/initinfra-networking/replacements
|
||||||
|
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
resources:
|
resources:
|
||||||
- ../../../../function/baremetal-operator
|
- ../../../../type/gating/target/initinfra
|
||||||
- ../../../../function/hwcc
|
|
||||||
- ../../../../function/clusterctl
|
|
||||||
- ../../../../composite/flux-helm
|
|
||||||
- ../catalogues
|
- ../catalogues
|
||||||
|
|
||||||
commonLabels:
|
|
||||||
airshipit.org/stage: initinfra
|
|
||||||
|
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../../function/baremetal-operator/replacements
|
- ../../../../type/gating/target/initinfra/replacements
|
||||||
- ../../../../composite/flux-helm/replacements
|
|
||||||
|
@ -2,11 +2,10 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../catalogues
|
- ../catalogues
|
||||||
- ../../../../function/workers-capm3/
|
- ../../../../type/gating/target/workers
|
||||||
- nodes
|
- nodes
|
||||||
|
|
||||||
namespace: target-infra
|
namespace: target-infra
|
||||||
|
|
||||||
transformers:
|
transformers:
|
||||||
- ../../../../function/workers-capm3/replacements
|
- ../../../../type/gating/target/workers/replacements
|
||||||
- ../../../../function/workers-capm3/replacements-secrets
|
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../function/hostgenerator-m3
|
||||||
|
- ../../../../../function/hardwareprofile-example
|
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../../function/hostgenerator-m3/replacements
|
||||||
|
- ../../../../../../function/hardwareprofile-example/replacements
|
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../function/ephemeral
|
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../function/ephemeral/replacements
|
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../function/k8scontrol
|
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../function/k8scontrol/replacements
|
@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../composite/infra/
|
||||||
|
|
||||||
|
commonLabels:
|
||||||
|
airshipit.org/stage: initinfra
|
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../composite/infra/replacements
|
@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../function/baremetal-operator
|
||||||
|
- ../../../../function/hwcc
|
||||||
|
- ../../../../function/clusterctl
|
||||||
|
|
||||||
|
commonLabels:
|
||||||
|
airshipit.org/stage: initinfra
|
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../function/baremetal-operator/replacements
|
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../function/k8scontrol
|
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../function/k8scontrol/replacements
|
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../composite/infra/
|
||||||
|
- namespace.yaml
|
||||||
|
|
||||||
|
commonLabels:
|
||||||
|
airshipit.org/stage: initinfra
|
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../composite/infra/replacements
|
10
manifests/type/gating/target/initinfra/kustomization.yaml
Normal file
10
manifests/type/gating/target/initinfra/kustomization.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../function/baremetal-operator
|
||||||
|
- ../../../../function/hwcc
|
||||||
|
- ../../../../function/clusterctl
|
||||||
|
- ../../../../composite/flux-helm
|
||||||
|
|
||||||
|
commonLabels:
|
||||||
|
airshipit.org/stage: initinfra
|
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../function/baremetal-operator/replacements
|
||||||
|
- ../../../../../composite/flux-helm/replacements
|
4
manifests/type/gating/target/workers/kustomization.yaml
Normal file
4
manifests/type/gating/target/workers/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../function/workers-capm3/
|
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../../../../function/workers-capm3/replacements
|
||||||
|
- ../../../../../function/workers-capm3/replacements-secrets
|
Loading…
Reference in New Issue
Block a user