Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ spec:
{{- end }}
- name: reloader
namespace: {{ $.Release.Namespace }}
{{- if (dig "kubestash" "enabled" false $.Values.helm.releases) }}
- name: kubestash
namespace: {{ $.Release.Namespace }}
{{- end }}
{{- if and (dig "catalog-manager" "enabled" false $.Values.helm.releases) (dig "service-gateway-presets" "enabled" false $.Values.helm.releases) }}
- name: ace
namespace: ace-gw
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- with (index .Values "helm" "releases" "gateway-api") }}
{{- if .enabled }}
{{- if and .enabled (not (include "distro.openshift" $)) }}

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ spec:
interval: 5m
timeout: 30m
releaseName: catalog-manager
targetNamespace: envoy-gateway-system
storageNamespace: envoy-gateway-system
targetNamespace: ace
storageNamespace: ace
install:
createNamespace: {{ $.Values.helm.createNamespace }}
remediation:
Expand Down
3 changes: 3 additions & 0 deletions charts/ace/templates/gateway/route-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
namespace: {{ .Release.Namespace }}
port: 80
weight: 1
timeouts: # They default to 15s.
backendRequest: 2m
request: 2m
- matches:
- path:
type: PathPrefix
Expand Down
2 changes: 1 addition & 1 deletion charts/catalog-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: catalog-manager
description: A Helm chart for AppsCode SaaS Calalog
type: application
version: v2026.2.16
appVersion: v0.10.0
appVersion: v0.11.0
home: https://github.com/appscode-cloud/catalog-manager
icon: https://cdn.appscode.com/images/products/searchlight/icons/android-icon-192x192.png
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/catalog-manager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ spec:
- --keda-proxyservice-namespace={{ .Values.keda.proxyService.namespace }}
- --oci-registry-config-file=/var/platform-auth/oci.yaml
- --platform-url={{ .Values.platform.baseURL }}
- --distro.openshift={{ include "distro.openshift" . }}
{{- if .Values.platform.caBundle }}
- --platform-ca-file=/var/platform-auth/ca.crt
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/service-gateway-presets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The following table lists the configurable parameters of the `service-gateway-pr
| chart.name | | <code>service-gateway</code> |
| chart.namespace | | <code>ace</code> |
| chart.createNamespace | | <code>true</code> |
| chart.version | | <code>"v2026.1.15"</code> |
| chart.version | | <code>"v2026.2.16"</code> |
| chart.sourceRef.kind | | <code>HelmRepository</code> |
| chart.sourceRef.name | | <code>appscode-charts-oci</code> |
| chart.sourceRef.namespace | | <code>kubeops</code> |
Expand Down
7 changes: 7 additions & 0 deletions charts/service-gateway-presets/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,10 @@ Selector labels
app.kubernetes.io/name: {{ include "service-gateway-presets.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Returns whether the OpenShift distribution is used
*/}}
{{- define "distro.openshift" -}}
{{- or (.Capabilities.APIVersions.Has "project.openshift.io/v1/Project") .Values.global.distro.openshift (and .Values.distro .Values.distro.openshift) -}}
{{- end }}
2 changes: 1 addition & 1 deletion charts/service-gateway-presets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ chart:
name: service-gateway
namespace: ace
createNamespace: true
version: "v2026.1.15"
version: "v2026.2.16"
sourceRef:
kind: HelmRepository
name: appscode-charts-oci
Expand Down
7 changes: 0 additions & 7 deletions charts/service-gateway/templates/gateway/gw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ spec:
app: {{ include "tenant.name" . }}-gw-seed-backend
spec:
serviceAccountName: {{ include "tenant.name" . }}-gw-seed-backend
{{- if eq "true" ( include "distro.openshift" . ) }}
securityContext:
{{- toYaml (omit .Values.podSecurityContext "runAsUser" "runAsGroup" "fsGroup" "supplementalGroups") | nindent 8 }}
{{- else }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- end }}
containers:
- image: "{{ .Values.echoserver.image }}:{{ .Values.echoserver.tag }}"
imagePullPolicy: IfNotPresent
Expand Down
10 changes: 10 additions & 0 deletions charts/service-gateway/templates/gateway/gwclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@ spec:
{{- end }}
container:
image: "{{ .Values.envoy.image }}:{{ .Values.envoy.tag }}"
{{- if eq "true" ( include "distro.openshift" . ) }}
securityContext:
{{- toYaml (omit .Values.envoy.securityContext "runAsUser" "runAsGroup" "fsGroup" "supplementalGroups") | nindent 12 }}
{{- else }}
securityContext:
{{- toYaml .Values.envoy.securityContext | nindent 12 }}
{{- end }}
{{- if .Values.envoy.nodeSelector }}
pod:
nodeSelector:
Expand All @@ -54,8 +59,13 @@ spec:
spec:
containers:
- name: shutdown-manager
{{- if eq "true" ( include "distro.openshift" . ) }}
securityContext:
{{- toYaml (omit .Values.envoy.securityContext "runAsUser" "runAsGroup" "fsGroup" "supplementalGroups") | nindent 22 }}
{{- else }}
securityContext:
{{- toYaml .Values.envoy.securityContext | nindent 22 }}
{{- end }}

envoyService:
{{- if eq .Values.infra.hostType "domain" }}
Expand Down