-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jaeger v2 with v1 #613
Jaeger v2 with v1 #613
Changes from 7 commits
22c8ade
7212b86
9e73b35
0dd3924
f7db758
b980560
d9aa942
01d341b
ee12ee4
3012649
1ea257d
42c30a0
f247a95
647f7fa
8069914
742febb
b6bbc4b
7a24558
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
apiVersion: v2 | ||
appVersion: 1.53.0 | ||
appVersion: 2.0.0-rc2 | ||
description: A Jaeger Helm chart for Kubernetes | ||
name: jaeger | ||
type: application | ||
version: 3.3.1 | ||
version: 3.3.2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe go to 4.x? It's not backwards compatible with chart-3.x which only works with jaeger-v1 |
||
# CronJobs require v1.21 | ||
kubeVersion: ">= 1.21-0" | ||
keywords: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -559,17 +559,17 @@ If not tag is provided, it defaults to .Chart.AppVersion. | |
{{- end -}} | ||
|
||
{{/* | ||
Create image name for all in one image | ||
Create image name for jaeger-v2 image | ||
*/}} | ||
{{- define "allInOne.image" -}} | ||
{{- include "renderImage" ( dict "imageRoot" .Values.allInOne.image "context" $ ) -}} | ||
{{- define "jaeger.image" -}} | ||
{{- include "renderImage" ( dict "imageRoot" .Values.jaeger.image "context" $ ) -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create pull secrets for all in one image | ||
Create pull secrets for jaeger-v2 image | ||
*/}} | ||
{{- define "allInOne.imagePullSecrets" -}} | ||
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.allInOne.image) "context" $) -}} | ||
{{- define "jaeger.imagePullSecrets" -}} | ||
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.jaeger.image) "context" $) -}} | ||
{{- end }} | ||
|
||
{{/* | ||
|
@@ -719,3 +719,95 @@ Create pull secrets for hotrod image | |
{{- define "hotrod.imagePullSecrets" -}} | ||
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.hotrod.image) "context" $) -}} | ||
{{- end }} | ||
|
||
|
||
|
||
{{- define "jaeger-v2.name" -}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we already discussed this - all these settings are already present in the chart without the |
||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "jaeger-v2.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "jaeger-v2.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "jaeger-v2.labels" -}} | ||
helm.sh/chart: {{ include "jaeger-v2.chart" . }} | ||
{{ include "jaeger-v2.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
|
||
{{/* | ||
Selector labels | ||
*/}} | ||
{{- define "jaeger-v2.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "jaeger-v2.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "jaeger-v2.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create }} | ||
{{- default (include "jaeger-v2.fullname" .) .Values.serviceAccount.name }} | ||
{{- else }} | ||
{{- default "default" .Values.serviceAccount.name }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- define "jaeger-v2.namespace" -}} | ||
{{- if .Values.namespaceOverride -}} | ||
{{- .Values.namespaceOverride -}} | ||
{{- else -}} | ||
{{- .Release.Namespace -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "jaeger-v2.extensionsConfig" -}} | ||
{{ toYaml .Values.extensions | nindent 6 }} | ||
{{- end }} | ||
|
||
{{- define "jaeger-v2.receiversConfig" -}} | ||
{{ toYaml .Values.receivers | nindent 6 }} | ||
{{- end }} | ||
|
||
{{- define "jaeger-v2.processorsConfig" -}} | ||
{{ toYaml .Values.processors | nindent 6 }} | ||
{{- end }} | ||
|
||
{{- define "jaeger-v2.exportersConfig" -}} | ||
{{ toYaml .Values.exporters | nindent 6 }} | ||
{{- end }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these can be inlined directly in the template, they provide no value |
||
|
||
{{- define "jaeger-v2.podLabels" -}} | ||
{{- if .Values.podLabels }} | ||
{{- tpl (.Values.podLabels | toYaml) . }} | ||
{{- end }} | ||
{{- end }} |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--set v2.enabled=true
left over?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh i changes v2 to jaeger will fix it now