Browse Source

Deploy Calico using Tigera Operator

* Align treasuremap manifests to latest changes in airshipctl repo
  For Calico deployment

  airshipctl PS: https://review.opendev.org/c/airship/airshipctl/+/762773

Change-Id: Id35289017eff98a1bd6671f23261b5b15fbdcb08
Relates-To: #75
changes/12/769412/4
Sirajudeen 2 years ago
parent
commit
3eeb4b277e
  1. 2
      manifests/site/test-site/ephemeral/initinfra-networking/kustomization.yaml
  2. 2
      manifests/site/test-site/target/initinfra-networking/kustomization.yaml
  3. 5
      manifests/type/airship-core/ephemeral/initinfra-networking/kustomization.yaml
  4. 1
      manifests/type/airship-core/ephemeral/initinfra/kustomization.yaml
  5. 1
      manifests/type/airship-core/ephemeral/initinfra/replacements/kustomization.yaml
  6. 17
      manifests/type/airship-core/phases/executors.yaml
  7. 25
      manifests/type/airship-core/phases/phases.yaml
  8. 2
      manifests/type/airship-core/phases/plan.yaml
  9. 5
      manifests/type/airship-core/target/initinfra-networking/kustomization.yaml
  10. 1
      manifests/type/airship-core/target/initinfra/kustomization.yaml
  11. 1
      manifests/type/airship-core/target/initinfra/replacements/kustomization.yaml

2
manifests/site/test-site/ephemeral/initinfra-networking/kustomization.yaml

@ -0,0 +1,2 @@
resources:
- ../../../../type/airship-core/ephemeral/initinfra-networking

2
manifests/site/test-site/target/initinfra-networking/kustomization.yaml

@ -0,0 +1,2 @@
resources:
- ../../../../type/airship-core/target/initinfra-networking

5
manifests/type/airship-core/ephemeral/initinfra-networking/kustomization.yaml

@ -0,0 +1,5 @@
resources:
- ../../../../../../airshipctl/manifests/composite/infra/
commonLabels:
airshipit.org/stage: initinfra

1
manifests/type/airship-core/ephemeral/initinfra/kustomization.yaml

@ -1,6 +1,5 @@
resources:
- ../../../../function/clusterctl
- ../../../../../../airshipctl/manifests/composite/infra/
- ../../../../../../airshipctl/manifests/function/baremetal-operator/
commonLabels:
airshipit.org/stage: initinfra

1
manifests/type/airship-core/ephemeral/initinfra/replacements/kustomization.yaml

@ -1,3 +1,2 @@
resources:
- ../../../../../../../airshipctl/manifests/function/baremetal-operator/replacements
- ../../../../../../../airshipctl/manifests/composite/infra/replacements

17
manifests/type/airship-core/phases/executors.yaml

@ -11,6 +11,23 @@ config:
pruneOptions:
prune: false
---
# This is added to support phase with no-wait
# When there is a wait, then it does status-check and fails
# if the resource status(condition) is not met.
# There are cases where the resource do not have status
# field implemented. So a wait will fail with status check
apiVersion: airshipit.org/v1alpha1
kind: KubernetesApply
metadata:
labels:
airshipit.org/deploy-k8s: "false"
name: kubernetes-apply-nowait
config:
waitOptions:
timeout: 0
pruneOptions:
prune: false
---
apiVersion: airshipit.org/v1alpha1
kind: Clusterctl
metadata:

25
manifests/type/airship-core/phases/phases.yaml

@ -24,6 +24,18 @@ config:
---
apiVersion: airshipit.org/v1alpha1
kind: Phase
metadata:
name: initinfra-networking-ephemeral
clusterName: ephemeral-cluster
config:
executorRef:
apiVersion: airshipit.org/v1alpha1
kind: KubernetesApply
name: kubernetes-apply-nowait
documentEntryPoint: ephemeral/initinfra-networking
---
apiVersion: airshipit.org/v1alpha1
kind: Phase
metadata:
name: controlplane-ephemeral
clusterName: ephemeral-cluster
@ -49,6 +61,19 @@ config:
---
apiVersion: airshipit.org/v1alpha1
kind: Phase
metadata:
name: initinfra-networking-target
clusterName: target-cluster
config:
cluster: target-cluster
executorRef:
apiVersion: airshipit.org/v1alpha1
kind: KubernetesApply
name: kubernetes-apply-nowait
documentEntryPoint: target/initinfra-networking
---
apiVersion: airshipit.org/v1alpha1
kind: Phase
metadata:
name: workers-target
clusterName: target-cluster

2
manifests/type/airship-core/phases/plan.yaml

@ -6,8 +6,10 @@ phaseGroups:
- name: group1
phases:
- name: initinfra-ephemeral
- name: initinfra-networking-ephemeral
- name: clusterctl-init-ephemeral
- name: controlplane-ephemeral
- name: initinfra-target
- name: initinfra-networking-target
- name: workers-target
- name: workload-target

5
manifests/type/airship-core/target/initinfra-networking/kustomization.yaml

@ -0,0 +1,5 @@
resources:
- ../../../../../../airshipctl/manifests/composite/infra/
commonLabels:
airshipit.org/stage: initinfra

1
manifests/type/airship-core/target/initinfra/kustomization.yaml

@ -1,6 +1,5 @@
resources:
- ../../../../function/clusterctl
- ../../../../../../airshipctl/manifests/composite/infra/
- ../../../../../../airshipctl/manifests/function/baremetal-operator/
- ../../../../../../airshipctl/manifests/function/helm-operator/
commonLabels:

1
manifests/type/airship-core/target/initinfra/replacements/kustomization.yaml

@ -1,4 +1,3 @@
resources:
- ../../../../../../../airshipctl/manifests/function/baremetal-operator/replacements
- ../../../../../../../airshipctl/manifests/function/helm-operator/replacements
- ../../../../../../../airshipctl/manifests/composite/infra/replacements

Loading…
Cancel
Save