Skip to content

Commit

Permalink
Added the new naming suggested and regenerated the helm values docume…
Browse files Browse the repository at this point in the history
…ntation in charts README.md files

Signed-off-by: shinigami-777 <[email protected]>
  • Loading branch information
shinigami-777 committed Dec 23, 2023
1 parent 350bb5c commit 4ec0bd0
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 12 deletions.
1 change: 1 addition & 0 deletions jaeger/charts/linkerd-jaeger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Kubernetes: `>=1.22.0-0`
| collector.resources.memory.request | string | `nil` | Amount of memory that the collector container requests |
| collector.tolerations | string | `nil` | Tolerations section, See the [K8S documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) for more information |
| commonLabels | object | `{}` | Labels to apply to all resources |
| createNamespaceMetadataJobs | bool | `true` | Creates a Job that adds necessary metadata to the extension's namespace during install; disable if lack of privileges require doing this manually |
| defaultUID | int | `2103` | Default UID for all the jaeger components |
| enablePSP | bool | `false` | Create Roles and RoleBindings to associate this extension's ServiceAccounts to the control plane PSP resource. This requires that `enabledPSP` is set to true on the control plane install. Note PSP has been deprecated since k8s v1.21 |
| enablePodAntiAffinity | bool | `false` | Enables Pod Anti Affinity logic to balance the placement of replicas across hosts and zones for High Availability. Enable this only when you have multiple replicas of components. |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
{{- if not .Values.skipNamespaceMetadataJobs}}
{{- if .Values.createNamespaceMetadataJobs}}
kind: ServiceAccount
apiVersion: v1
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
{{- if not .Values.skipNamespaceMetadataJobs}}
{{- if .Values.createNamespaceMetadataJobs}}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down
5 changes: 3 additions & 2 deletions jaeger/charts/linkerd-jaeger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ enablePodAntiAffinity: false
# for more information
#nodeAffinity:

# -- adding an option to disble namespace-metadata jobs
skipNamespaceMetadataJobs: false
# -- Creates a Job that adds necessary metadata to the extension's namespace
# during install; disable if lack of privileges require doing this manually
createNamespaceMetadataJobs: true

# -- Create Roles and RoleBindings to associate this extension's
# ServiceAccounts to the control plane PSP resource. This requires that
Expand Down
1 change: 1 addition & 0 deletions multicluster/charts/linkerd-multicluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Kubernetes: `>=1.22.0-0`
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| commonLabels | object | `{}` | Labels to apply to all resources |
| createNamespaceMetadataJobs | bool | `true` | Creates a Job that adds necessary metadata to the extension's namespace during install; disable if lack of privileges require doing this manually |
| enablePSP | bool | `false` | Create Roles and RoleBindings to associate this extension's ServiceAccounts to the control plane PSP resource. This requires that `enabledPSP` is set to true on the control plane install. Note PSP has been deprecated since k8s v1.21 |
| enablePodAntiAffinity | bool | `false` | Enables Pod Anti Affinity logic to balance the placement of replicas across hosts and zones for High Availability. Enable this only when you have multiple replicas of components. |
| gateway.UID | int | `2103` | User id under which the gateway shall be ran |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if not .Values.skipNamespaceMetadataJobs}}
{{- if .Values.createNamespaceMetadataJobs}}
kind: ServiceAccount
apiVersion: v1
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if not .Values.skipNamespaceMetadataJobs}}
{{- if .Values.createNamespaceMetadataJobs}}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down
5 changes: 3 additions & 2 deletions multicluster/charts/linkerd-multicluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,6 @@ enablePodAntiAffinity: false
# for more information
# nodeAffinity:

# -- adding an option to disble namespace-metadata jobs
skipNamespaceMetadataJobs: false
# -- Creates a Job that adds necessary metadata to the extension's namespace
# during install; disable if lack of privileges require doing this manually
createNamespaceMetadataJobs: true
1 change: 1 addition & 0 deletions viz/charts/linkerd-viz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Kubernetes: `>=1.22.0-0`
|-----|------|---------|-------------|
| clusterDomain | string | `"cluster.local"` | Kubernetes DNS Domain name to use |
| commonLabels | object | `{}` | Labels to apply to all resources |
| createNamespaceMetadataJobs | bool | `true` | Creates a Job that adds necessary metadata to the extension's namespace during install; disable if lack of privileges require doing this manually |
| dashboard.UID | string | `nil` | UID for the dashboard resource |
| dashboard.enforcedHostRegexp | string | `""` | Host header validation regex for the dashboard. See the [Linkerd documentation](https://linkerd.io/2/tasks/exposing-dashboard) for more information |
| dashboard.image.name | string | `"web"` | Docker image name for the web instance |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if not .Values.skipNamespaceMetadataJobs}}
{{- if .Values.createNamespaceMetadataJobs}}
kind: ServiceAccount
apiVersion: v1
metadata:
Expand Down
2 changes: 1 addition & 1 deletion viz/charts/linkerd-viz/templates/namespace-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if not .Values.skipNamespaceMetadataJobs}}
{{- if .Values.createNamespaceMetadataJobs}}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down
5 changes: 3 additions & 2 deletions viz/charts/linkerd-viz/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ enablePodDisruptionBudget: false
# for more information
# nodeAffinity:

# -- adding an option to disble namespace-metadata jobs
skipNamespaceMetadataJobs: false
# -- Creates a Job that adds necessary metadata to the extension's namespace
# during install; disable if lack of privileges require doing this manually
createNamespaceMetadataJobs: true

# -- Create Roles and RoleBindings to associate this extension's
# ServiceAccounts to the control plane PSP resource. This requires that
Expand Down

0 comments on commit 4ec0bd0

Please sign in to comment.