Skip to content

Commit b767eaf

Browse files
Add readme and fix ingress tls value type (#20)
1 parent 0b9841e commit b767eaf

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# README
2+
3+
See official documentation here: https://codefresh.io/docs/docs/installation/gitops/hybrid-gitops-helm-installation/
4+
5+
6+
## To adopt argoproj crds:
7+
8+
1. Make sure kubectl is on the runtime cluster context
9+
2. Run scripts/adopt-crds.sh [runtime Helm release name] [Runtime Namespace]

charts/gitops-runtime/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: v0.0.1
33
description: A Helm chart for Codefresh gitops runtime
44
name: gitops-runtime
5-
version: 0.2.0-alpha-10
5+
version: 0.2.0-alpha-11
66
home: https://github.com/codefresh-io/gitops-runtime-helm
77
keywords:
88
- codefresh

charts/gitops-runtime/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# gitops-runtime
22

3-
![Version: 0.2.0-alpha-10](https://img.shields.io/badge/Version-0.2.0--alpha--10-informational?style=flat-square) ![AppVersion: v0.0.1](https://img.shields.io/badge/AppVersion-v0.0.1-informational?style=flat-square)
3+
![Version: 0.2.0-alpha-11](https://img.shields.io/badge/Version-0.2.0--alpha--11-informational?style=flat-square) ![AppVersion: v0.0.1](https://img.shields.io/badge/AppVersion-v0.0.1-informational?style=flat-square)
44

55
A Helm chart for Codefresh gitops runtime
66

@@ -132,7 +132,7 @@ A Helm chart for Codefresh gitops runtime
132132
| global.codefresh.userToken | object | `{"secretKeyRef":{},"token":""}` | User token. Used for runtime registration against the patform. One of token (for plain text value) or secretKeyRef must be provided. |
133133
| global.codefresh.userToken.secretKeyRef | object | `{}` | User token that references an existing secret containing the token. |
134134
| global.codefresh.userToken.token | string | `""` | User token in plain text. The chart creates and manages the secret for this token. |
135-
| global.runtime | object | `{"cluster":"https://kubernetes.default.svc","eventBus":{"nats":{"native":{"auth":"token","containerTemplate":{"resources":{"limits":{"cpu":"500m","ephemeral-storage":"2Gi","memory":"4Gi"},"requests":{"cpu":"200m","ephemeral-storage":"2Gi","memory":"1Gi"}}},"maxPayload":"4MB","replicas":3}}},"eventBusName":"codefresh-eventbus","gitCredentials":{"password":{"secretKeyRef":{},"value":null},"username":"username"},"ingress":{"annotations":{},"className":"nginx","enabled":false,"hosts":[],"protocol":"https","tls":{}},"name":null}` | Runtime level settings |
135+
| global.runtime | object | `{"cluster":"https://kubernetes.default.svc","eventBus":{"nats":{"native":{"auth":"token","containerTemplate":{"resources":{"limits":{"cpu":"500m","ephemeral-storage":"2Gi","memory":"4Gi"},"requests":{"cpu":"200m","ephemeral-storage":"2Gi","memory":"1Gi"}}},"maxPayload":"4MB","replicas":3}}},"eventBusName":"codefresh-eventbus","gitCredentials":{"password":{"secretKeyRef":{},"value":null},"username":"username"},"ingress":{"annotations":{},"className":"nginx","enabled":false,"hosts":[],"protocol":"https","tls":[]},"name":null}` | Runtime level settings |
136136
| global.runtime.cluster | string | `"https://kubernetes.default.svc"` | Runtime cluster. Should not be changed. |
137137
| global.runtime.eventBus | object | `{"nats":{"native":{"auth":"token","containerTemplate":{"resources":{"limits":{"cpu":"500m","ephemeral-storage":"2Gi","memory":"4Gi"},"requests":{"cpu":"200m","ephemeral-storage":"2Gi","memory":"1Gi"}}},"maxPayload":"4MB","replicas":3}}}` | EventBus spec |
138138
| global.runtime.eventBusName | string | `"codefresh-eventbus"` | Eventbus name |
@@ -141,7 +141,7 @@ A Helm chart for Codefresh gitops runtime
141141
| global.runtime.gitCredentials.password.secretKeyRef | object | `{}` | secretKeyReference for Git credentials password. Provide name and key fields. |
142142
| global.runtime.gitCredentials.password.value | string | `nil` | Plain text password |
143143
| global.runtime.gitCredentials.username | string | `"username"` | Username. Optional when using token in password. |
144-
| global.runtime.ingress | object | `{"annotations":{},"className":"nginx","enabled":false,"hosts":[],"protocol":"https","tls":{}}` | Ingress settings |
144+
| global.runtime.ingress | object | `{"annotations":{},"className":"nginx","enabled":false,"hosts":[],"protocol":"https","tls":[]}` | Ingress settings |
145145
| global.runtime.ingress.enabled | bool | `false` | Defines if ingress-based access mode is enabled for runtime. To use tunnel-based (ingressless) access mode, set to false. |
146146
| global.runtime.ingress.hosts | list | `[]` | Hosts for runtime ingress. Note that Codefresh platform will always use the first host in the list to access the runtime. |
147147
| global.runtime.ingress.protocol | string | `"https"` | The protocol that Codefresh platform will use to access the runtime ingress. Can be http or https. |

charts/gitops-runtime/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ global:
3434
# -- Defines if ingress-based access mode is enabled for runtime. To use tunnel-based (ingressless) access mode, set to false.
3535
enabled: false
3636
className: nginx
37-
tls: {}
37+
tls: []
3838
annotations: {}
3939
# -- Hosts for runtime ingress. Note that Codefresh platform will always use the first host in the list to access the runtime.
4040
hosts: []

0 commit comments

Comments
 (0)