-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
maistra-2.0.7
-
False
-
False
-
undefined
-
Consider the following SMCP:
apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: name: base spec: version: v2.0 tracing: type: Mixer
It is accepted by the ValidatingWebhook, but it never deploys. The operator logs the error "unknown tracer type":
{"level":"info","ts":1629887831.374332,"logger":"servicemeshcontrolplane-controller","msg":"Reconciling ServiceMeshControlPlane","ServiceMeshControlPlane":"cp/base","Status":{"conditions":[{"type":"Installed","status":"False","reason":"ResourceCreated","message":"Installing mesh generation 1","lastTransitionTime":"2021-08-25T10:35:46Z"},{"type":"Reconciled","status":"False","reason":"ReconcileError","message":"Error rendering helm charts: error: Unknown tracer type: Mixer","lastTransitionTime":"2021-08-25T10:35:46Z"},{"type":"Ready","status":"False","reason":"ReconcileError","message":"Error rendering helm charts: error: Unknown tracer type: Mixer","lastTransitionTime":"2021-08-25T10:35:46Z"}]}}
We should make sure the validation catches this.