Fix portieris-app to use upversioned cert-manager

On [1] and [2] cert-manager was migrated to fluxcd and upversioned
to version 1.7.1, but the portieris helm-charts are still creating
CRs with apiVersion v1beta2. This commit fixes it and also fixes
rendering issues for helmv3.

[1] https://review.opendev.org/c/starlingx/cert-manager-armada-app/+/831956
[2] https://review.opendev.org/c/starlingx/cert-manager-armada-app/+/838590


TEST PLAN
PASS build portieris-fluxcd app
PASS Upload
PASS Apply (verified created resources)
PASS Remove
PASS Delete

Logs: https://paste.opendev.org/show/b7dk5CFwtJEtBp8cLAXD/
Cluster State: https://paste.opendev.org/show/bvpBXWhU1GNlOlVuaz6H/

Story: 2009837
Task: 45333

Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: Ic97e1af44d983044b8e93212459625238a3b6c27
This commit is contained in:
Thiago Brito 2022-05-10 14:15:20 -03:00 committed by Thiago Paiva Brito
parent add76dfffb
commit 1195828b58
3 changed files with 11 additions and 7 deletions

View File

@ -1,11 +1,13 @@
apiVersion: cert-manager.io/v1alpha2
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
creationTimestamp: null
name: portieris-certs
namespace: portieris
spec:
dnsNames:
- portieris.portieris.svc
secretName: portieris-certs
- portieris.portieris.svc
issuerRef:
name: stx-portieris
name: stx-portieris
secretName: portieris-certs
status: {}

View File

@ -1,7 +1,9 @@
apiVersion: cert-manager.io/v1alpha2
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
creationTimestamp: null
name: stx-portieris
namespace: portieris
spec:
selfSigned: {}
selfSigned: {}
status: {}

View File

@ -1,6 +1,6 @@
apiVersion: v1
data:
ca.pem: {{ .Values.caCert }}
ca.pem: {{ .Values.caCert | toString | quote }}
tls.crt: ""
tls.key: ""
kind: Secret