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/kargo/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,8 @@ the Kargo controller is running.
137
137
|`api.rollouts.integrationEnabled`| Specifies whether Argo Rollouts integration is enabled. When not enabled, the API server will not be capable of creating/updating/applying AnalysesTemplate resources in the Kargo control plane. When enabled, the API server will perform a sanity check at startup. If Argo Rollouts CRDs are not found, the API server will proceed as if this integration had been explicitly disabled. Explicitly disabling is still preferable if this integration is not desired, as it will grant fewer permissions to the API server. |`true`|
138
138
|`api.rollouts.logs.enabled`| Specifies whether support for streaming logs from AnalysisRuns using a JobMetric provider is enabled. This feature requires you to have forwarded and stored the logs yourself in a place where they can be retrieved with an HTTP GET. |`false`|
139
139
|`api.rollouts.logs.urlTemplate`| Instructs Kargo on how to construct a URL for the retrieval of relevant logs via HTTP GET. Expressions offset by ${{ }} are supported with the following variables pre-defined and injected with values: project, namespace (the Project namespace), stage, analysisRun (its name), metricName (name of the JobMetric), jobNamespace (namespace of the Job; may be different that the Project namespace as the Job may actually execute in a different cluster), jobName, container (since a Pod associated with a Job could have more than one). Example: "https://logs.kargo.example.com/${{project}}/${{analysisRun}}/${{job}}/${{container}}".|`""`|
140
+
|`api.rollouts.logs.tokenSecret.name`| specifies the name of a Kubernetes Secret managed "out of band" that contains a token usable for accessing job metric logs. |`nil`|
141
+
|`api.rollouts.logs.tokenSecret.key`| specifies the key in a Kubernetes Secret (named by name) that is managed "out of band" and contains a token usable for accessing job metric logs. |`nil`|
140
142
|`api.rollouts.logs.httpHeaders`| Specifies HTTP headers to include in the HTTP GET request for log retrieval. These are typically used for authentication. The header values support expressions offset by ${{ }}, with the same variables documented for urlTemplate pre-defined and injected with values. |`{}`|
Copy file name to clipboardExpand all lines: charts/kargo/templates/api/deployment.yaml
+7
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,13 @@ spec:
75
75
{{- with (concat .Values.global.env .Values.api.env) }}
76
76
{{- toYaml . | nindent 10 }}
77
77
{{- end }}
78
+
{{- if and .Values.api.rollouts.integrationEnabled .Values.api.rollouts.logs.enabled .Values.api.rollouts.logs.tokenSecret.name .Values.api.rollouts.logs.tokenSecret.key }}
Copy file name to clipboardExpand all lines: charts/kargo/values.yaml
+5
Original file line number
Diff line number
Diff line change
@@ -357,6 +357,11 @@ api:
357
357
enabled: false
358
358
## @param api.rollouts.logs.urlTemplate Instructs Kargo on how to construct a URL for the retrieval of relevant logs via HTTP GET. Expressions offset by ${{ }} are supported with the following variables pre-defined and injected with values: project, namespace (the Project namespace), stage, analysisRun (its name), metricName (name of the JobMetric), jobNamespace (namespace of the Job; may be different that the Project namespace as the Job may actually execute in a different cluster), jobName, container (since a Pod associated with a Job could have more than one). Example: "https://logs.kargo.example.com/${{project}}/${{analysisRun}}/${{job}}/${{container}}".
359
359
urlTemplate: ""
360
+
tokenSecret:
361
+
## @param api.rollouts.logs.tokenSecret.name specifies the name of a Kubernetes Secret managed "out of band" that contains a token usable for accessing job metric logs.
362
+
name:
363
+
## @param api.rollouts.logs.tokenSecret.key specifies the key in a Kubernetes Secret (named by name) that is managed "out of band" and contains a token usable for accessing job metric logs.
364
+
key:
360
365
## @param api.rollouts.logs.httpHeaders Specifies HTTP headers to include in the HTTP GET request for log retrieval. These are typically used for authentication. The header values support expressions offset by ${{ }}, with the same variables documented for urlTemplate pre-defined and injected with values.
0 commit comments