Skip to content

Commit

Permalink
shorten names to pass tests
Browse files Browse the repository at this point in the history
Signed-off-by: Robbie Lankford <[email protected]>
  • Loading branch information
rlankfo committed Mar 12, 2024
1 parent 85d11e6 commit 243f78c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions charts/grafana-sampling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ A major chart version change indicates that there is an incompatible breaking ch
| grafana-agent-deployment.controller.autoscaling.targetMemoryUtilizationPercentage | int | `80` | Average Memory utilization across all relevant pods, a percentage of the requested value of the resource for the pods. Setting `targetMemoryUtilizationPercentage` to 0 will disable Memory scaling. |
| grafana-agent-deployment.controller.replicas | int | `1` | |
| grafana-agent-deployment.controller.type | string | `"deployment"` | |
| grafana-agent-deployment.nameOverride | string | `"deployment"` | Do not change this. |
| grafana-agent-statefulset.agent.configMap.create | bool | `false` | |
| grafana-agent-statefulset.agent.extraEnv[0].name | string | `"GRAFANA_CLOUD_API_KEY"` | |
| grafana-agent-statefulset.agent.extraEnv[0].value | string | `"<REQUIRED>"` | |
Expand Down Expand Up @@ -107,6 +108,7 @@ A major chart version change indicates that there is an incompatible breaking ch
| grafana-agent-statefulset.controller.autoscaling.targetMemoryUtilizationPercentage | int | `80` | Average Memory utilization across all relevant pods, a percentage of the requested value of the resource for the pods. Setting `targetMemoryUtilizationPercentage` to 0 will disable Memory scaling. |
| grafana-agent-statefulset.controller.replicas | int | `1` | |
| grafana-agent-statefulset.controller.type | string | `"statefulset"` | |
| grafana-agent-statefulset.nameOverride | string | `"statefulset"` | Do not change this. |
| grafana-agent-statefulset.rbac.create | bool | `false` | |
| grafana-agent-statefulset.service.clusterIP | string | `"None"` | |
| grafana-agent-statefulset.serviceAccount.create | bool | `false` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ otelcol.exporter.loadbalancing "default" {
resolver {

kubernetes {
service = "{{ .Release.Name }}-grafana-agent-statefulset.{{ .Release.Namespace }}"
service = "{{ .Release.Name }}-statefulset.{{ .Release.Namespace }}"
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-grafana-agent-deployment
name: {{ .Release.Name }}-deployment
labels:
{{- include "grafana-agent.labels" . | nindent 4 }}
data:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-grafana-agent-statefulset
name: {{ .Release.Name }}-statefulset
labels:
{{- include "grafana-agent.labels" . | nindent 4 }}
data:
Expand Down
4 changes: 4 additions & 0 deletions charts/grafana-sampling/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ sampling:
# @ignored Ignore agent deployment
grafana-agent-deployment:
# -- Do not change this.
nameOverride: deployment
controller:
type: deployment
replicas: 1
Expand Down Expand Up @@ -84,6 +86,8 @@ grafana-agent-deployment:

# @ignored Ignore agent statefulset
grafana-agent-statefulset:
# -- Do not change this.
nameOverride: statefulset
controller:
type: statefulset
replicas: 1
Expand Down

0 comments on commit 243f78c

Please sign in to comment.