Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Fix issue with invalid yaml on latest kubectl versions #159

Merged

Conversation

EliiseS
Copy link
Collaborator

@EliiseS EliiseS commented Feb 4, 2020

When deploy the operator with kubectl version v1.17.2 you encounter the error:

error: error validating "./deploy/azure-databricks-operator/manifest-temp/run-duration-metrics-with-reconciler-config-20200203.1/default": error validating data:
ValidationError(ServiceMonitor.spec.selector): unknown field "control-plane" in com.coreos.monitoring.v1.ServiceMonitor.spec.selector; 
if you choose to ignore these errors, turn validation off with --validate=false

Which is cause by invalid yaml in the 'config/prometheus/monitor.yaml'

@Azadehkhojandi
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Azadehkhojandi Azadehkhojandi merged commit 09e4bc2 into Azure:master Feb 5, 2020
@EliiseS EliiseS deleted the es/fix-incorrect-monitor-yaml branch February 5, 2020 10:22
amrasem pushed a commit to amrasem/azure-databricks-operator that referenced this pull request Feb 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants