Skip to content

Commit 62ce035

Browse files
fix eventbusname (#58)
* fix eventbusname
1 parent 6d30d53 commit 62ce035

File tree

8 files changed

+11
-9
lines changed

8 files changed

+11
-9
lines changed

charts/gitops-runtime/Chart.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: 0.1.30
33
description: A Helm chart for Codefresh gitops runtime
44
name: gitops-runtime
5-
version: 0.2.13-alpha
5+
version: 0.2.13-alpha.1
66
home: https://github.com/codefresh-io/gitops-runtime-helm
77
icon: https://avatars1.githubusercontent.com/u/11412079?v=3
88
keywords:
@@ -19,6 +19,8 @@ annotations:
1919
description: csv generation for private registry utility
2020
- kind: added
2121
description: pdb for eventbus
22+
- kind: fixed
23+
description: fix eventbusname
2224
dependencies:
2325
- name: argo-cd
2426
repository: https://codefresh-io.github.io/argo-helm

charts/gitops-runtime/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Codefresh gitops runtime
2-
![Version: 0.2.13-alpha](https://img.shields.io/badge/Version-0.2.13--alpha-informational?style=flat-square) ![AppVersion: 0.1.30](https://img.shields.io/badge/AppVersion-0.1.30-informational?style=flat-square)
2+
![Version: 0.2.13-alpha.1](https://img.shields.io/badge/Version-0.2.13--alpha.1-informational?style=flat-square) ![AppVersion: 0.1.30](https://img.shields.io/badge/AppVersion-0.1.30-informational?style=flat-square)
33

44
## Codefresh official documentation:
55
Prior to running the installation please see the official documentation at: https://codefresh.io/docs/docs/installation/gitops/hybrid-gitops-helm-installation/
@@ -15,7 +15,7 @@ We have created a helper utility to resolve this issue:
1515
The utility is packaged in a container image. Below are instructions on executing the utility using Docker:
1616

1717
```
18-
docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.2.13-alpha <local_registry>
18+
docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.2.13-alpha.1 <local_registry>
1919
```
2020
`output_dir` - is a local directory where the utility will output files. <br>
2121
`local_registry` - is your local registry where you want to mirror the images to

charts/gitops-runtime/templates/_components/event-reporters/events-reporter/_event-source.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
name: events-reporter
88
spec:
99
replicas: {{ .Values.events.eventSource.replicas }}
10-
eventBusName: {{ .Values.global.runtime.eventBusName }}
10+
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
1111
generic:
1212
events:
1313
authSecret:

charts/gitops-runtime/templates/_components/event-reporters/events-reporter/_sensor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
- name: events
1212
eventSourceName: events-reporter
1313
eventName: events
14-
eventBusName: {{ .Values.global.runtime.eventBusName }}
14+
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
1515
template:
1616
serviceAccountName: {{ include "event-reporters.events-reporter.serviceAccountName" .}}
1717
container:

charts/gitops-runtime/templates/_components/event-reporters/rollout-reporter/_event-source.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
{{- include "event-reporters.rollout-reporter.labels" . | nindent 4}}
88
spec:
99
replicas: {{ .Values.rollout.eventSource.replicas }}
10-
eventBusName: {{ .Values.global.runtime.eventBusName }}
10+
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
1111
resource:
1212
analysisruns:
1313
eventTypes:

charts/gitops-runtime/templates/_components/event-reporters/rollout-reporter/_sensor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
- name: analysisruns
1818
eventSourceName: rollout-reporter
1919
eventName: analysisruns
20-
eventBusName: {{ .Values.global.runtime.eventBusName }}
20+
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
2121
template:
2222
serviceAccountName: {{ include "event-reporters.rollout-reporter.serviceAccountName" .}}
2323
container:

charts/gitops-runtime/templates/_components/event-reporters/workflow-reporter/_event-source.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
{{- include "event-reporters.workflow-reporter.labels" . | nindent 4 }}
88
spec:
99
replicas: {{ .Values.workflow.eventSource.replicas }}
10-
eventBusName: {{ .Values.global.runtime.eventBusName }}
10+
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
1111
resource:
1212
workflows:
1313
eventTypes:

charts/gitops-runtime/templates/_components/event-reporters/workflow-reporter/_sensor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
- eventName: workflows
1212
eventSourceName: workflow-reporter
1313
name: workflows
14-
eventBusName: {{ .Values.global.runtime.eventBusName }}
14+
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
1515
template:
1616
serviceAccountName: {{ include "event-reporters.workflow-reporter.serviceAccountName" .}}
1717
container:

0 commit comments

Comments
 (0)