Skip to content

fix eventbusname #58

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 2 commits into from
Jun 19, 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
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