Skip to content
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

fix bundle examples #1260

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions config/samples/datadog-operator-hub-example-v2alpha1.yaml

This file was deleted.

46 changes: 44 additions & 2 deletions config/samples/datadoghq_v2alpha1_datadogagent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,47 @@ kind: DatadogAgent
metadata:
name: datadogagent-sample
spec:
# Add fields here
foo: bar
global:
clusterAgentToken: <DATADOG_CLUSTER_AGENT_TOKEN>
clusterName: <CLUSTER_NAME>
credentials:
apiKey: <DATADOG_API_KEY>
appKey: <DATADOG_APP_KEY>
criSocketPath: /var/run/crio/crio.sock
kubelet:
# This is needed if the kubelet certificate is self-signed.
# Alternatively, the CA certificate used to sign the kubelet certificate can be mounted.
tlsVerify: false
features:
admissionController:
enabled: false
apm:
enabled: false
clusterChecks:
enabled: true
useClusterChecksRunners: true
liveProcessCollection:
enabled: false
logCollection:
containerCollectAll: true
enabled: true
override:
nodeAgent:
hostNetwork: true
serviceAccountName: datadog-agent-scc
securityContext:
runAsUser: 0
seLinuxOptions:
user: system_u
role: system_r
type: spc_t
level: s0
clusterAgent:
serviceAccountName: datadog-agent-scc
replicas: 2
containers:
cluster-agent:
securityContext:
readOnlyRootFilesystem: false
clusterChecksRunner:
replicas: 2
5 changes: 2 additions & 3 deletions config/samples/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
## Append samples you want in your CSV to this file as resources ##
resources:
- datadog-operator-hub-example-v2alpha1.yaml
- datadog-operator-hub-example-v1alpha1.yaml
- datadogmetric-v1alpha1.yaml
- datadoghq_v2alpha1_datadogagent.yaml
- datadoghq_v1alpha1_datadogmetric.yaml
- datadoghq_v1alpha1_datadogmonitor.yaml
- datadoghq_v1alpha1_datadogagentprofile.yaml
- datadoghq_v1alpha1_datadogslo.yaml
Expand Down
Loading