-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
None
-
False
-
-
Followed this document to validate cert-manager manually , all the steps were successful.
https://docs.google.com/document/d/1ZX2Lv_iXFdjfVON7oQUvCs4u294BzjCO-ICeWpAL_J0/edit?pli=1
When we run the testcase from maistra test tool it is failing with the below error:
install.go:30: cert-manager-operator is already installed
istio_csr_test.go:63:
istio_csr_test.go:63: STEP 1: Uninstall existing SMCP
istio_csr_test.go:64: Deleting namespaces: [istio-system]
istio_csr_test.go:64: Creating namespaces: [istio-system]
istio_csr_test.go:66:
istio_csr_test.go:66: STEP 2: Create intermediate certificate for Istio
istio_csr_test.go:69:
istio_csr_test.go:69: STEP 3: Add jetstack repo to helm
istio_csr_test.go:72:
istio_csr_test.go:72: STEP 4: Install cert-manager-istio-csr
helm.go:70: FATAL: Command failed: helm install istio-csr jetstack/cert-manager-istio-csr -n istio-system --version v0.10.0 -f - <<EOF
replicaCount: 2
image:
repository: quay.io/jetstack/cert-manager-istio-csr
tag: v0.10.0
pullSecretName: ""
app:
certmanager:
namespace: istio-system
issuer:
group: cert-manager.io
kind: Issuer
name: istio-ca
controller:
configmapNamespaceSelector: "maistra.io/member-of=istio-system"
leaderElectionNamespace: istio-system
istio:
namespace: istio-system
revisions: ["basic"]
server:
maxCertificateDuration: 5m
tls:
certificateDNSNames:
# This DNS name must be set in the SMCP spec.security.certificateAuthority.cert-manager.address
- cert-manager-istio-csr.istio-system.svc
EOF
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/.kube/config
Error: INSTALLATION FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
cert-manager-istio-csr:
- image: Additional property pullSecretName is not allowed
error: exit status 1
test.go:77:
test.go:79: Test failed in 9.96s (excluding cleanup)
test.go:97: Capturing cluster state using must-gather brew.registry.redhat.io/rh-osbs/openshift-service-mesh-istio-must-gather-rhel8:2.6.0
test.go:101: /root/daniya/maistra-test-tool/tests/result-20240812093653/v2.6/failures-must-gather/20240812093909-TestIstioCsr
istio_csr_test.go:51:
istio_csr_test.go:51: Performing cleanup
helm.go:80: FATAL: Command failed: helm uninstall istio-csr -n istio-system
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/.kube/config
Error: uninstall: Release not loaded: istio-csr: release: not found
error: exit status 1