Skip to content

Commit

Permalink
Add example Helm values file and related rendered manifests that go w…
Browse files Browse the repository at this point in the history
…ith it for Operator based Java auto-instrumentation
  • Loading branch information
jvoravong committed Mar 21, 2023
1 parent 695ebec commit 2ffbebe
Show file tree
Hide file tree
Showing 23 changed files with 2,170 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ repos:
# Can't check source yaml since it has go templates in it.
# Can't check the OptenTelemetry Operator subchart because it does not
# adhere to our standards.
exclude: "^helm-charts|^test|.*rendered-manifests/operator.*"
exclude: "^helm-charts|^test|.*operator.*"
- id: check-added-large-files
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
splunkObservability:
metricsEnabled: true
tracesEnabled: true
logsEnabled: true
accessToken: CHANGEME
realm: us0
clusterName: CHANGEME
environment: CHANGEME

operator:
enabled: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
# Source: splunk-otel-collector/templates/clusterRole.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: default-splunk-otel-collector
labels:
app.kubernetes.io/name: splunk-otel-collector
helm.sh/chart: splunk-otel-collector-0.72.0
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: default
app.kubernetes.io/version: "0.72.0"
app: splunk-otel-collector
chart: splunk-otel-collector-0.72.0
release: default
heritage: Helm
rules:
- apiGroups:
- ""
resources:
- events
- namespaces
- namespaces/status
- nodes
- nodes/spec
- nodes/stats
- nodes/proxy
- pods
- pods/status
- persistentvolumeclaims
- persistentvolumes
- replicationcontrollers
- replicationcontrollers/status
- resourcequotas
- services
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
- daemonsets
- deployments
- replicasets
- statefulsets
verbs:
- get
- list
- watch
- apiGroups:
- extensions
resources:
- daemonsets
- deployments
- replicasets
verbs:
- get
- list
- watch
- apiGroups:
- batch
resources:
- jobs
- cronjobs
verbs:
- get
- list
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- get
- list
- watch
- nonResourceURLs:
- /metrics
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
# Source: splunk-otel-collector/templates/clusterRoleBinding.yaml
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: default-splunk-otel-collector
labels:
app.kubernetes.io/name: splunk-otel-collector
helm.sh/chart: splunk-otel-collector-0.72.0
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: default
app.kubernetes.io/version: "0.72.0"
app: splunk-otel-collector
chart: splunk-otel-collector-0.72.0
release: default
heritage: Helm
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: default-splunk-otel-collector
subjects:
- kind: ServiceAccount
name: default-splunk-otel-collector
namespace: default
Loading

0 comments on commit 2ffbebe

Please sign in to comment.