Skip to content

Commit

Permalink
patch bundle to rm status defaultOverride in DatadogAgent (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
celenechang committed Sep 21, 2021
1 parent 182bf6f commit 5816960
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/patch-bundle.sh
Expand Up @@ -13,3 +13,6 @@ $YQ m -i -a "$ROOT_DIR/bundle/manifests/datadog-operator.clusterserviceversion.y

# Remove ServiceAccount bundled in SCC (but required for Kustomize installation to work)
rm -f "$ROOT_DIR/bundle/manifests/datadog-operator-manager_v1_serviceaccount.yaml"

# Remove defaultOverride section in DatadogAgent status due to the error: "datadoghq.com_datadogagents.yaml bigger than total allowed limit"
$YQ d -i "$ROOT_DIR/bundle/manifests/datadoghq.com_datadogagents.yaml" 'spec.validation.openAPIV3Schema.properties.status.properties.defaultOverride'

0 comments on commit 5816960

Please sign in to comment.