66 Commits

Author SHA1 Message Date
Iago Regiani
ad6d28ae36 Updated nginx-ingress controller to 0.41.2
This update includes removing the deprecated helm repo and previous
patches. This version is the last one that supports helm v2, and
implements nginx admission controller on port 5443 - avoiding conflict
with lighttpd.

Tested new version with cert-manager and Nodeinfo, making sure that new
routes were created when the application was manually updated, including
Openstack endpoints. Also tested with Platform Upgrade in Simplex and
Duplex deployments.

Story: 2008542
Task: 41636
Closes-Bug: #1902534
Signed-off-by: Regiani Iago <Lago.RodriguezRegiani@windriver.com>
Change-Id: I439ae16f0eb44b25c109d2a275121a60ae62c449
vr/stx.5.0
2021-03-22 14:21:40 -04:00
Iago Regiani
8f6568f9ae Revert "Updated nginx-ingress controller to 0.41.2"
This reverts commit 437db6f68af305a1667a5ac5ec722d96a1c44c9c.

Reason for revert: This new version implements an admission controller that uses port 8443, conflicting with lighttpd. Reverting in order to change this port

Change-Id: I0a2c4d6ca5dddac30a0508b844dc40ab96d2a0ad
2021-03-22 12:32:11 +00:00
Iago Regiani
437db6f68a Updated nginx-ingress controller to 0.41.2
This update includes removing the deprecated helm repo and previous
patches. This version is the last one that supports helm v2.

Tested new version with cert-manager and Nodeinfo, making sure that new
routes were created when the application was manually updated, including
Openstack endpoints. Also tested with Platform Upgrade in Simplex and
Duplex deployments.

Story: 2008542
Task: 41636
Closes-Bug: #1902534
Signed-off-by: Regiani Iago <Lago.RodriguezRegiani@windriver.com>
Change-Id: I9e022ae58d75f179fce66829117d475e435c169c
2021-03-17 12:28:58 -04:00
Suvro Ghosh
963100d9dd Adding metadata to prevent some operations
Critical apps like this are prevented from being deleted or
removed.

Story: 2007960
Task: 42038
Depends-On: I93821965184d95a00fddd3398a1c214e3d730efa
Signed-off-by: Suvro Ghosh <suvrojeet.ghosh@windriver.com>
Change-Id: If6cd2967e3912d2aaf5e155f868b9417ed199457
2021-03-11 12:30:16 -05:00
Suvro Ghosh
4cd19d274f Revert "Introduce metadata for app behavior control"
This reverts commit 1c1302ff54238727d72e8b8f3a6ca9ae95bc2fb2.

Reason for revert: Needed additional playbook change before preventing deletion


Story: 2007960
Task: 41765
Signed-off-by: Suvro Ghosh <suvrojeet.ghosh@windriver.com>
Change-Id: Id06cd976292a7d7047fb523e83331f0fa7ae9e8d
2021-03-09 16:45:10 +00:00
Suvro Ghosh
1c1302ff54 Introduce metadata for app behavior control
This metadata will forbid this app from deletion.

Story: 2007960
Task: 41765
Signed-off-by: Suvro Ghosh <suvrojeet.ghosh@windriver.com>
Change-Id: I68ec80ba8cfffec4aac86560571036f31d9eb593
2021-02-05 00:45:00 +00:00
Don Penney
0c05d422e2 Add auto-version for remaining stx/nginx-ingress-controller-armada-app packages
Update remaining StarlingX packages with hardcoded TIS_PATCH_VER to
use PKG_GITREVCOUNT where possible, with offsets as needed to ensure
the version is incremented above the hardcoded version.

Story: 2008455
Task: 41454
Signed-off-by: Don Penney <don.penney@windriver.com>
Change-Id: I48adf5627e6259b93efa6dfb98f51600104fccd9
2020-12-17 13:24:15 -05:00
Jim Gauld
f786b4bf8a Add support for Helm v3
This adds support for Helm v3.
- 'helm init' and initialization is no longer required
- 'chartmuseum' is used as a drop-in replacement for 'helm serv'
- all Charts require the tag: apiVersion: v1 (or v2)

This updates nginx-ingress chart to specify apiVersion.

Change-Id: Ic8d4454913fc4c65d1e17adb971f08200631f4d0
Story: 2007000
Task: 39713
Depends-On: https://review.opendev.org/719962
Signed-off-by: Jim Gauld <james.gauld@windriver.com>
v4.0.0.rc0
2020-05-12 14:40:08 -04:00
Sabeel Ansari
c3b37cebac Increase timeout for app to start pods
During backup & restore it was noted that Armada apply would timeout
even though the nginx-ingress-controller did come up to Running state.
Increasing the timeout to 1800 to give more time before Armada times
out.

Closes-Bug: 1875664

Change-Id: I886f37feb559cfb5391dd0dd51f606a2bf207ac6
Signed-off-by: Sabeel Ansari <Sabeel.Ansari@windriver.com>
2020-05-04 20:26:39 -04:00
Sabeel Ansari
c11e57693d Update manifest file hostNetwork indentation
hostNetwork indentation was incorrect in original commit. Fixing here.

Story: 2007360
Task: 39221

Change-Id: Ibe28855fd988534633f23d1fe691adfb554a0696
Signed-off-by: Sabeel Ansari <Sabeel.Ansari@windriver.com>
2020-04-23 09:13:05 -04:00
Sabeel Ansari
e3e4b92758 Fix layered build
The nginx-ingress-controller app was missing a build requirement
check for the 'helm' package, which was causing the layered build to
fail. This commit adds the dependency check.

Closes-Bug: 1873603

Change-Id: If6792f5d4348d4f257fcf93a4d32760cb110bd97
Signed-off-by: Sabeel Ansari <Sabeel.Ansari@windriver.com>
2020-04-20 10:32:09 -04:00
Sabeel Ansari
d1d2cd3326 Initial commit of nginx-ingress-controller app
This commit introduces nginx as a separate armada app as part of
support for cert-manager (to handle incoming cert challenges). In
future, the scope of nginx-ingress-controller is expected to be
broader. Spec for this feature is available here:
https://opendev.org/starlingx/specs/src/branch/master/doc/source/specs/stx-4.0/approved/security-2007360-cert-manager.rst

Story: 2007360
Task: 39221

Change-Id: I42e4dc47d2b65da807edf0ea8b7af93457e027b8
Signed-off-by: Sabeel Ansari <Sabeel.Ansari@windriver.com>
2020-04-17 11:04:29 -04:00
Sabeel Ansari
ffaf052fe2 Installation via ISO is failing due to these.
Revert "Initial commit of stx-nginx-ingress-controller app"

This reverts commit 04406c0f114bb2bd5d505f8890ad236921882897.

Change-Id: I8b39125d8947c6984e3fdffb60ef9b0d8b42042c
2020-04-15 14:35:18 +00:00
Sabeel Ansari
04406c0f11 Initial commit of stx-nginx-ingress-controller app
Story: 2007360
Task: 39221

Change-Id: I764c0225b433182aee2da341244f6309184bb431
Signed-off-by: Sabeel Ansari <Sabeel.Ansari@windriver.com>
2020-04-14 14:11:57 -04:00
Sabeel Ansari
ab26daf914 nginx-ingress-controller repo setup for armada app
Story: 2007360
Task: 39221

Change-Id: If07f4caa6a01875e61c102ce692e0097d736b34f
Signed-off-by: Sabeel Ansari <Sabeel.Ansari@windriver.com>
2020-03-31 15:34:19 -04:00
OpenDev Project Creator
7d46af2312 Added .gitreview 2020-03-30 19:36:37 +00:00