Skip to content

Fix-reporter-payload #49

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

Merged
merged 3 commits into from
Jun 1, 2023
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
8 changes: 3 additions & 5 deletions charts/gitops-runtime/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 0.1.29
description: A Helm chart for Codefresh gitops runtime
name: gitops-runtime
version: 0.2.7-alpha
version: 0.2.8-alpha
home: https://github.com/codefresh-io/gitops-runtime-helm
icon: https://avatars1.githubusercontent.com/u/11412079?v=3
keywords:
Expand All @@ -15,10 +15,8 @@ annotations:
artifacthub.io/alternativeName: "codefresh-gitops-runtime"
artifacthub.io/prerelease: "true"
artifacthub.io/changes: |
- kind: changed
description: Add private registry utililies
- kind: changed
description: Installer image for hooks now runs rootless
- kind: fixed
description: rollout-reporter and workflow-reporter trigger values were wrong (resulting in event not reaching the platform)
dependencies:
- name: argo-cd
repository: https://codefresh-io.github.io/argo-helm
Expand Down
2 changes: 1 addition & 1 deletion charts/gitops-runtime/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Codefresh gitops runtime
![Version: 0.2.7-alpha](https://img.shields.io/badge/Version-0.2.7--alpha-informational?style=flat-square) ![AppVersion: 0.1.29](https://img.shields.io/badge/AppVersion-0.1.29-informational?style=flat-square)
![Version: 0.2.8-alpha](https://img.shields.io/badge/Version-0.2.8--alpha-informational?style=flat-square) ![AppVersion: 0.1.29](https://img.shields.io/badge/AppVersion-0.1.29-informational?style=flat-square)

## Codefresh official documentation:
Prior to running the installation please see the official documentation at: https://codefresh.io/docs/docs/installation/gitops/hybrid-gitops-helm-installation/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ assumes the name, condition and payload.dependencyName are identical
key: token
name: codefresh-token
payload:
- dest: data
- dest: {{ .payloadDest }}
src:
dataKey: body
dependencyName: {{ .name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ spec:
{{- . | toYaml | nindent 8 }}
{{- end }}
triggers:
{{- include "event-reporters.http.trigger" (dict "name" "events" "Values" .Values) | nindent 4 }}
{{- include "event-reporters.http.trigger" (dict "name" "events" "Values" .Values "payloadDest" "data") | nindent 4 }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
{{- . | toYaml | nindent 8 }}
{{- end }}
triggers:
{{- include "event-reporters.http.trigger" (dict "name" "rollouts" "Values" .Values) | nindent 4 }}
{{- include "event-reporters.http.trigger" (dict "name" "replicasets" "Values" .Values) | nindent 4 }}
{{- include "event-reporters.http.trigger" (dict "name" "analysisruns" "Values" .Values) | nindent 4 }}
{{- include "event-reporters.http.trigger" (dict "name" "rollouts" "Values" .Values "payloadDest" "data.object") | nindent 4 }}
{{- include "event-reporters.http.trigger" (dict "name" "replicasets" "Values" .Values "payloadDest" "data.object") | nindent 4 }}
{{- include "event-reporters.http.trigger" (dict "name" "analysisruns" "Values" .Values "payloadDest" "data.object") | nindent 4 }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ spec:
{{- . | toYaml | nindent 8 }}
{{- end }}
triggers:
{{- include "event-reporters.http.trigger" (dict "name" "workflows" "Values" .Values) | nindent 4 }}
{{- include "event-reporters.http.trigger" (dict "name" "workflows" "Values" .Values "payloadDest" "data.object") | nindent 4 }}
{{- end }}