Skip to content

onprem: 2.7.8 #41

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 1 commit into from
Apr 11, 2025
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
6 changes: 3 additions & 3 deletions codefresh/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Helm Chart for Codefresh On-Prem
name: codefresh
version: 2.7.7
version: 2.7.8
keywords:
- codefresh
home: https://codefresh.io/
Expand All @@ -18,8 +18,8 @@ annotations:
artifacthub.io/containsSecurityUpdates: "true"
# supported kinds are added, changed, deprecated, removed, fixed and security.
artifacthub.io/changes: |
- kind: security
description: "Contains security updates"
- kind: added
description: "Add option to specify labels for Ingress object"
dependencies:
- name: cf-common
repository: oci://quay.io/codefresh/charts
Expand Down
5 changes: 3 additions & 2 deletions codefresh/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Codefresh On-Premises

![Version: 2.7.7](https://img.shields.io/badge/Version-2.7.7-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)
![Version: 2.7.8](https://img.shields.io/badge/Version-2.7.8-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)

Helm chart for deploying [Codefresh On-Premises](https://codefresh.io/docs/docs/getting-started/intro-to-codefresh/) to Kubernetes.

Expand Down Expand Up @@ -2290,11 +2290,12 @@ After platform upgrade, Consul fails with the error `refusing to rejoin cluster
| hermes | object | See below | hermes |
| hooks | object | See below | Pre/post-upgrade Job hooks. Updates images in `system/default` runtime. |
| imageCredentials | object | `{}` | Credentials for Image Pull Secret object |
| ingress | object | `{"annotations":{"nginx.ingress.kubernetes.io/service-upstream":"true","nginx.ingress.kubernetes.io/ssl-redirect":"false","nginx.org/redirect-to-https":"false"},"enabled":true,"ingressClassName":"nginx-codefresh","nameOverride":"","services":{"internal-gateway":["/"]},"tls":{"cert":"","enabled":false,"existingSecret":"","key":"","secretName":"star.codefresh.io"}}` | Ingress |
| ingress | object | `{"annotations":{"nginx.ingress.kubernetes.io/service-upstream":"true","nginx.ingress.kubernetes.io/ssl-redirect":"false","nginx.org/redirect-to-https":"false"},"enabled":true,"ingressClassName":"nginx-codefresh","labels":{},"nameOverride":"","services":{"internal-gateway":["/"]},"tls":{"cert":"","enabled":false,"existingSecret":"","key":"","secretName":"star.codefresh.io"}}` | Ingress |
| ingress-nginx | object | See below | ingress-nginx Ref: https://github.com/kubernetes/ingress-nginx/blob/main/charts/ingress-nginx/values.yaml |
| ingress.annotations | object | See below | Set annotations for ingress. |
| ingress.enabled | bool | `true` | Enable the Ingress |
| ingress.ingressClassName | string | `"nginx-codefresh"` | Set the ingressClass that is used for the ingress. Default `nginx-codefresh` is created from `ingress-nginx` controller subchart |
| ingress.labels | object | `{}` | Set labels for ingress |
| ingress.nameOverride | string | `""` | Override Ingress resource name |
| ingress.services | object | See below | Default services and corresponding paths |
| ingress.tls.cert | string | `""` | Certificate (base64 encoded) |
Expand Down
3 changes: 3 additions & 0 deletions codefresh/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ metadata:
name: {{ $ingressName }}
labels:
{{ include "codefresh.labels" . | nindent 4 }}
{{- with .Values.ingress.labels }}
{{ toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ingress.annotations }}
annotations:
{{ toYaml . | nindent 4 }}
Expand Down
15 changes: 14 additions & 1 deletion codefresh/tests/ingress/ingress_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,17 @@ tests:
enabled: true
asserts:
- failedTemplate:
errorMessage: "A valid .Values.ingress.tls.cert is required!"
errorMessage: "A valid .Values.ingress.tls.cert is required!"

- it: ingress with extra labels
template: templates/ingress.yaml
set:
global:
appUrl: mydomain.local
ingress:
labels:
foo: bar
asserts:
- equal:
path: metadata.labels.foo
value: bar
2 changes: 2 additions & 0 deletions codefresh/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ ingress:
nginx.ingress.kubernetes.io/service-upstream: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.org/redirect-to-https: "false"
# -- Set labels for ingress
labels: {}

# -- Global parameters
# @default -- See below
Expand Down