Skip to content

Commit

Permalink
fix eventbusname (#58)
Browse files Browse the repository at this point in the history
* fix eventbusname
  • Loading branch information
ilia-medvedev-codefresh authored Jun 19, 2023
1 parent 6d30d53 commit 62ce035
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
4 changes: 3 additions & 1 deletion 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.30
description: A Helm chart for Codefresh gitops runtime
name: gitops-runtime
version: 0.2.13-alpha
version: 0.2.13-alpha.1
home: https://github.com/codefresh-io/gitops-runtime-helm
icon: https://avatars1.githubusercontent.com/u/11412079?v=3
keywords:
Expand All @@ -19,6 +19,8 @@ annotations:
description: csv generation for private registry utility
- kind: added
description: pdb for eventbus
- kind: fixed
description: fix eventbusname
dependencies:
- name: argo-cd
repository: https://codefresh-io.github.io/argo-helm
Expand Down
4 changes: 2 additions & 2 deletions 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.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)
![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)

## 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 All @@ -15,7 +15,7 @@ We have created a helper utility to resolve this issue:
The utility is packaged in a container image. Below are instructions on executing the utility using Docker:

```
docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.2.13-alpha <local_registry>
docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.2.13-alpha.1 <local_registry>
```
`output_dir` - is a local directory where the utility will output files. <br>
`local_registry` - is your local registry where you want to mirror the images to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: events-reporter
spec:
replicas: {{ .Values.events.eventSource.replicas }}
eventBusName: {{ .Values.global.runtime.eventBusName }}
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
generic:
events:
authSecret:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
- name: events
eventSourceName: events-reporter
eventName: events
eventBusName: {{ .Values.global.runtime.eventBusName }}
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
template:
serviceAccountName: {{ include "event-reporters.events-reporter.serviceAccountName" .}}
container:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
{{- include "event-reporters.rollout-reporter.labels" . | nindent 4}}
spec:
replicas: {{ .Values.rollout.eventSource.replicas }}
eventBusName: {{ .Values.global.runtime.eventBusName }}
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
resource:
analysisruns:
eventTypes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
- name: analysisruns
eventSourceName: rollout-reporter
eventName: analysisruns
eventBusName: {{ .Values.global.runtime.eventBusName }}
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
template:
serviceAccountName: {{ include "event-reporters.rollout-reporter.serviceAccountName" .}}
container:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
{{- include "event-reporters.workflow-reporter.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.workflow.eventSource.replicas }}
eventBusName: {{ .Values.global.runtime.eventBusName }}
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
resource:
workflows:
eventTypes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
- eventName: workflows
eventSourceName: workflow-reporter
name: workflows
eventBusName: {{ .Values.global.runtime.eventBusName }}
eventBusName: {{ default "codefresh-eventbus" .Values.global.runtime.eventBus.name }}
template:
serviceAccountName: {{ include "event-reporters.workflow-reporter.serviceAccountName" .}}
container:
Expand Down

0 comments on commit 62ce035

Please sign in to comment.