-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle older GKE versions #1720
Handle older GKE versions #1720
Conversation
annotations: | ||
helm.sh/hook: "pre-install,pre-upgrade" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensures that the required CRD is installed before other k8s resources
@@ -337,7 +337,7 @@ You are using datadog.orchestratorExplorer.enabled but you disabled the cluster | |||
To enable it please set clusterAgent.enabled to 'true'. | |||
{{- end }} | |||
|
|||
{{- if .Values.providers.gke.autopilot}} | |||
{{- if and (.Values.providers.gke.autopilot) (not .Values.datadog.envDict.DD_CI)}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The .Values.datadog.envDict.DD_CI
is a workaround for CI tests running in non-autopilot clusters
64df0bc
into
hasan.mahmood/system-probe-autopilot
What this PR does / why we need it:
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer:
Testing done:
Non-autopilot clusters should not fail
providers.gke.autopilot=true
should not faildatadog.networkMonitoring.enabled=true
should not failAllowlistSynchronizer
providers.gke.autopilot=true
should not faildatadog.networkMonitoring.enabled=true
should not failAllowlistSynchronizer
providers.gke.autopilot=true
should not faildatadog.networkMonitoring.enabled=true
should not failAllowlistSynchronizer
providers.gke.autopilot=true
should not faildatadog.networkMonitoring.enabled=true
should not failAllowlistSynchronizer
Autopilot clusters should not fail
providers.gke.autopilot=true
should not faildatadog.networkMonitoring.enabled=true
should enable system-probe containerAllowlistSynchronizer
providers.gke.autopilot=true
should not faildatadog.networkMonitoring.enabled=true
should fail and throw errorAllowlistSynchronizer
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
.github/helm-docs.sh
)CHANGELOG.md
has been updatedREADME.md
make update-test-baselines
)