Mihnea Saracin 6291d8a7f9 Add FluxCD version of the nginx app
Add new manifest files to the nginx app to enable FluxCD support.

The new spec will now generate 2 rpms:
- the original one that contains the armada
  version of the nginx app

- a new one that contains the new FluxCD
  version of nginx app

The FluxCD archive will contain the following:
.
├── charts
│   └── ingress-nginx-3.10.1.tgz
├── checksum.md5
├── fluxcd-manifests
│   ├── base
│   │   ├── helmrepository.yaml
│   │   ├── kustomization.yaml
│   │   └── namespace.yaml
│   ├── kustomization.yaml
│   └── nginx-ingress
│       ├── helmrelease.yaml
│       ├── kustomization.yaml
│       ├── nginx-ingress-static-overrides.yaml
│       └── nginx-ingress-system-overrides.yaml
├── metadata.yaml
└── plugins
    └── k8sapp_nginx_ingress_controller-1.0-py2.py3-none-any.whl

The archive components are almost the same
as the armada components, only the armada manifest file
is replaced with the fluxcd-manifests directory.

Story: 2009138
Task: 44452
Change-Id: Iab30290a8889a2849e65e7b10869e97203a3bd34
Signed-off-by: Mihnea Saracin <Mihnea.Saracin@windriver.com>
2022-02-14 15:32:32 +00:00

10 lines
307 B
Plaintext

SRC_DIR="stx-nginx-ingress-controller-helm"
TAR_NAME=helm-charts-ingress-nginx
NGINX_VERSION=0.41.2
TAR="$TAR_NAME-$NGINX_VERSION.tar.gz"
COPY_LIST="${CGCS_BASE}/downloads/$TAR $PKG_BASE/$SRC_DIR/files/* $PKG_BASE/$SRC_DIR/manifests/* $PKG_BASE/$SRC_DIR/fluxcd-manifests/*"
TIS_PATCH_VER=PKG_GITREVCOUNT