You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/common/README.md
+16-18Lines changed: 16 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Major Changes to functions are documented with the version affected. **Before up
25
25
|networkpolicy template changes|10.0.0|add possibility to create multiple networkpolicies|https://github.com/bedag/helm-charts/pull/77|
26
26
|ingress template changes|11.0.0|add possibility to create multiple ingress objects|https://github.com/bedag/helm-charts/pull/134
27
27
|ingress template changes|12.0.0|support defining multiple hosts and secrets for one ingress|https://github.com/bedag/helm-charts/pull/138
28
-
|unified externalRefs|12.7.0|List-based externalRefs registry for ConfigMaps, Secrets, PVCs, and ExternalName services. Supports `mode: create` (chart-managed) and `mode: reference` (pre-existing). New `externalServiceRef` env field resolves ExternalName service names.|
28
+
|unified externalRefs|12.7.0|List-based externalRefs registry for ConfigMaps, Secrets, PVCs, and Services. Supports `mode: create` (chart-managed ExternalName Service) and `mode: reference` (pre-existing Service). New `externalServiceRef` env field resolves Service names.|
29
29
30
30
# Values by Component
31
31
@@ -74,7 +74,7 @@ Major Changes to functions are documented with the version affected. **Before up
74
74
The `externalRefs` feature provides a unified registry for declaring external dependencies at the top level of your values. It supports four resource kinds:
75
75
76
76
-**ConfigMap** / **Secret** / **PersistentVolumeClaim** — reference pre-existing resources by alias in `envFrom`, `volumes`, `env valueFrom`, Ingress TLS, ServiceMonitor basicAuth, and imagePullSecrets
77
-
-**ExternalName** — create or reference Kubernetes `ExternalName` services for external dependencies (databases, caches, APIs), resolvable in env vars via `externalServiceRef`
77
+
-**Service** — create a Kubernetes `Service` with `spec.type: ExternalName`, or reference an existing Service for external dependencies (databases, caches, APIs), resolvable in env vars via `externalServiceRef`
78
78
79
79
Enable the feature by setting `includes.externalRefs: true`.
80
80
@@ -85,23 +85,21 @@ Each entry in the `externalRefs` list supports:
85
85
| Field | Required | Default | Description |
86
86
|-------|----------|---------|-------------|
87
87
|`id`| Yes | — | Unique alias for referencing this entry |
Copy file name to clipboardExpand all lines: charts/common/README.md.gotmpl
+16-18Lines changed: 16 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Major Changes to functions are documented with the version affected. **Before up
34
34
|networkpolicy template changes|10.0.0|add possibility to create multiple networkpolicies|https://github.com/bedag/helm-charts/pull/77|
35
35
|ingress template changes|11.0.0|add possibility to create multiple ingress objects|https://github.com/bedag/helm-charts/pull/134
36
36
|ingress template changes|12.0.0|support defining multiple hosts and secrets for one ingress|https://github.com/bedag/helm-charts/pull/138
37
-
|unified externalRefs|12.7.0|List-based externalRefs registry for ConfigMaps, Secrets, PVCs, andExternalName services. Supports `mode: create` (chart-managed) and`mode: reference` (pre-existing). New `externalServiceRef` env field resolves ExternalName service names.|
37
+
|unified externalRefs|12.7.0|List-based externalRefs registry for ConfigMaps, Secrets, PVCs, andServices. Supports `mode: create` (chart-managed ExternalName Service) and`mode: reference` (pre-existing Service). New `externalServiceRef` env field resolves Service names.|
38
38
{{/*
39
39
Chart Values
40
40
*/}}
@@ -71,7 +71,7 @@ Major Changes to functions are documented with the version affected. **Before up
71
71
The `externalRefs` feature provides a unified registry for declaring external dependencies at the top level of your values. It supports four resource kinds:
72
72
73
73
- **ConfigMap** / **Secret** / **PersistentVolumeClaim** — reference pre-existing resources by alias in `envFrom`, `volumes`, `env valueFrom`, Ingress TLS, ServiceMonitor basicAuth, and imagePullSecrets
74
-
- **ExternalName** — create or reference Kubernetes `ExternalName` services for external dependencies (databases, caches, APIs), resolvable in env vars via `externalServiceRef`
74
+
- **Service** — create a Kubernetes `Service`with`spec.type: ExternalName`, or reference an existing Service for external dependencies (databases, caches, APIs), resolvable in env vars via `externalServiceRef`
75
75
76
76
Enable the feature by setting `includes.externalRefs: true`.
77
77
@@ -82,23 +82,21 @@ Each entry in the `externalRefs` list supports:
82
82
| Field | Required | Default | Description |
83
83
|-------|----------|---------|-------------|
84
84
|`id`| Yes | — | Unique alias for referencing this entry |
{{- $resolved:= include "library.externalRef" (dict "id"$id"externalRefs"$refs"context"$context) | fromJson -}}
183
-
{{- ifne$resolved.kind"ExternalName" -}}
184
-
{{- fail (printf"%sexternalServiceRef '%s' has kind '%s' — only 'ExternalName' refs can be resolved as service names" (ternary (printf"%s: "$context) "" (ne$context"")) $id$resolved.kind) -}}
183
+
{{- ifne$resolved.kind"Service" -}}
184
+
{{- fail (printf"%sexternalServiceRef '%s' has kind '%s' — only 'Service' refs can be resolved as service names" (ternary (printf"%s: "$context) "" (ne$context"")) $id$resolved.kind) -}}
0 commit comments