Skip to content
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
1 change: 0 additions & 1 deletion charts/linkerd2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ Kubernetes: `>=1.13.0-0`
| disableHeartBeat | bool | `false` | Set to true to not start the heartbeat cronjob |
| enableEndpointSlices | bool | `false` | enables the use of EndpointSlice informers for the destination service; enableEndpointSlices should be set to true only if EndpointSlice K8s feature gate is on; the feature is still experimental. |
| enableH2Upgrade | bool | `true` | Allow proxies to perform transparent HTTP/2 upgrading |
| grafanaUrl | string | `""` | url of external grafana instance with reverse proxy configured. |
| heartbeatSchedule | string | `"0 0 * * *"` | Config for the heartbeat cronjob |
| identity.issuer.clockSkewAllowance | string | `"20s"` | Amount of time to allow for clock skew within a Linkerd cluster |
| identity.issuer.crtExpiry | string | `nil` | Expiration timestamp for the issuer certificate. It must be provided during install. Must match the expiry date in crtPEM |
Expand Down
2 changes: 0 additions & 2 deletions charts/linkerd2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ cniEnabled: false
identityTrustAnchorsPEM: |
# -- Trust domain used for identity
identityTrustDomain: *cluster_domain
# -- url of external grafana instance with reverse proxy configured.
grafanaUrl: ""
# -- Additional annotations to add to all pods
podAnnotations: {}
# -- Additional labels to add to all pods
Expand Down
1 change: 0 additions & 1 deletion test/integration/testdata/check.viz.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ linkerd-viz
√ linkerd-viz pods are injected
√ viz extension pods are running
√ prometheus is installed and configured correctly
√ grafana is installed and configured correctly
√ can initialize the client
√ viz extension self-check

Expand Down
1 change: 0 additions & 1 deletion test/integration/testdata/check.viz.proxy.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ linkerd-viz
√ linkerd-viz pods are injected
√ viz extension pods are running
√ prometheus is installed and configured correctly
√ grafana is installed and configured correctly
√ can initialize the client
√ viz extension self-check

Expand Down
1 change: 1 addition & 0 deletions viz/charts/linkerd-viz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ Kubernetes: `>=1.13.0-0`
| grafana.resources.cpu.request | string | `nil` | Amount of CPU units that the grafana container requests |
| grafana.resources.memory.limit | string | `nil` | Maximum amount of memory that grafana container can use |
| grafana.resources.memory.request | string | `nil` | Amount of memory that the grafana container requests |
| grafanaUrl | string | `""` | url of external grafana instance with reverse proxy configured. |
| identityTrustDomain | string | `"cluster.local"` | Trust domain used for identity |
| imagePullSecrets | list | `[]` | For Private docker registries, authentication is needed. Registry secrets are applied to the respective service accounts |
| installNamespace | bool | `true` | Set to false when installing in a custom namespace. |
Expand Down
3 changes: 3 additions & 0 deletions viz/charts/linkerd-viz/templates/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ metadata:
labels:
{{.Values.extensionAnnotation}}: linkerd-viz
annotations:
{{- if .Values.prometheusUrl }}
viz.linkerd.io/external-prometheus: {{.Values.prometheusUrl}}
{{- end }}
{{.Values.proxyInjectAnnotation}}: enabled
{{ end -}}
3 changes: 3 additions & 0 deletions viz/charts/linkerd-viz/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ enablePodAntiAffinity: false
# -- url of external prometheus instance
prometheusUrl: ""

# -- url of external grafana instance with reverse proxy configured.
grafanaUrl: ""

# -- url of external jaeger instance
# Set this to `jaeger.linkerd-jaeger.svc.<clusterDomain>` if you plan to use jaeger extension
jaegerUrl: ""
Expand Down
7 changes: 7 additions & 0 deletions viz/cmd/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ func TestRender(t *testing.T) {
},
"install_proxy_resources.golden",
},
{
map[string]interface{}{
"grafana": map[string]interface{}{"enabled": false},
"grafanaUrl": "external-grafana.com",
},
"install_grafana_disabled.golden",
},
}

for i, tc := range testCases {
Expand Down
Loading