Skip to content
Draft
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
9 changes: 9 additions & 0 deletions apis/installer/v1alpha1/ace_ace_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,15 @@ type Settings struct {
Firebase FirebaseSettings `json:"firebase"`
// +optional
Marketplace *MarketplaceSettings `json:"marketplace,omitempty"`
// +optional
PgPool *PgPoolSettings `json:"pgpool,omitempty"`
}

type PgPoolSettings struct {
Enabled bool `json:"enabled"`
Version string `json:"version"`
Replicas int `json:"replicas"`
Resources core.ResourceRequirements `json:"resources"`
}

type DBSettings struct {
Expand Down
21 changes: 21 additions & 0 deletions apis/installer/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions catalog/ace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- ghcr.io/appscode-charts/ace-installer:v2026.5.22
- ghcr.io/appscode-charts/ace:v2026.5.22
- ghcr.io/appscode-charts/ace-installer:v2026.6.15-alpha
- ghcr.io/appscode-charts/ace:v2026.6.15-alpha
- ghcr.io/appscode-charts/service-gateway:v2026.5.22
4 changes: 2 additions & 2 deletions charts/ace-installer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: ace-installer
description: ACE Installer
type: application
version: v2026.5.22
appVersion: v2026.5.22
version: v2026.6.15-alpha
appVersion: v2026.6.15-alpha
kubeVersion: '>=1.28.0-0'
annotations:
charts.openshift.io/name: ace-installer
Expand Down
10 changes: 5 additions & 5 deletions charts/ace-installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
```bash
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/ace-installer --version=v2026.5.22
$ helm upgrade -i ace-installer appscode/ace-installer -n kubeops --create-namespace --version=v2026.5.22
$ helm search repo appscode/ace-installer --version=v2026.6.15-alpha
$ helm upgrade -i ace-installer appscode/ace-installer -n kubeops --create-namespace --version=v2026.6.15-alpha
```

## Introduction
Expand All @@ -24,7 +24,7 @@ This chart deploys charts for ACE on a [Kubernetes](http://kubernetes.io) cluste
To install/upgrade the chart with the release name `ace-installer`:

```bash
$ helm upgrade -i ace-installer appscode/ace-installer -n kubeops --create-namespace --version=v2026.5.22
$ helm upgrade -i ace-installer appscode/ace-installer -n kubeops --create-namespace --version=v2026.6.15-alpha
```

The command deploys charts for ACE on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
Expand Down Expand Up @@ -151,12 +151,12 @@ The following table lists the configurable parameters of the `ace-installer` cha
Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade -i`. For example:

```bash
$ helm upgrade -i ace-installer appscode/ace-installer -n kubeops --create-namespace --version=v2026.5.22 --set image.proxies.appscode=r.appscode.com
$ helm upgrade -i ace-installer appscode/ace-installer -n kubeops --create-namespace --version=v2026.6.15-alpha --set image.proxies.appscode=r.appscode.com
```

Alternatively, a YAML file that specifies the values for the parameters can be provided while
installing the chart. For example:

```bash
$ helm upgrade -i ace-installer appscode/ace-installer -n kubeops --create-namespace --version=v2026.5.22 --values values.yaml
$ helm upgrade -i ace-installer appscode/ace-installer -n kubeops --create-namespace --version=v2026.6.15-alpha --values values.yaml
```
4 changes: 2 additions & 2 deletions charts/ace/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: ace
description: A Helm chart for AppsCode Container Engine
type: application
version: v2026.5.22
appVersion: v2026.5.22
version: v2026.6.15-alpha
appVersion: v2026.6.15-alpha
home: https://github.com/appscode-cloud
icon: https://cdn.appscode.com/images/products/bytebuilders/icons/android-icon-192x192.png
sources:
Expand Down
16 changes: 11 additions & 5 deletions charts/ace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
```bash
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/ace --version=v2026.5.22
$ helm upgrade -i ace appscode/ace -n ace --create-namespace --version=v2026.5.22
$ helm search repo appscode/ace --version=v2026.6.15-alpha
$ helm upgrade -i ace appscode/ace -n ace --create-namespace --version=v2026.6.15-alpha
```

## Introduction
Expand All @@ -24,7 +24,7 @@ This chart deploys AppsCode Container Engine on a [Kubernetes](http://kubernetes
To install/upgrade the chart with the release name `ace`:

```bash
$ helm upgrade -i ace appscode/ace -n ace --create-namespace --version=v2026.5.22
$ helm upgrade -i ace appscode/ace -n ace --create-namespace --version=v2026.6.15-alpha
```

The command deploys AppsCode Container Engine on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
Expand Down Expand Up @@ -131,6 +131,12 @@ The following table lists the configurable parameters of the `ace` chart and the
| settings.db.auth.username | | <code>postgres</code> |
| settings.db.auth.password | | <code>"xyz"</code> |
| settings.db.logSQL | | <code>false</code> |
| settings.pgpool.enabled | | <code>false</code> |
| settings.pgpool.version | | <code>"4.5.0"</code> |
| settings.pgpool.replicas | | <code>2</code> |
| settings.pgpool.resources.limits.memory | | <code>512Mi</code> |
| settings.pgpool.resources.requests.memory | | <code>256Mi</code> |
| settings.pgpool.resources.requests.cpu | | <code>250m</code> |
| settings.cache.version | | <code>"7.2.4"</code> |
| settings.cache.cacheInterval | | <code>60</code> |
| settings.cache.persistence.size | | <code>10Gi</code> |
Expand Down Expand Up @@ -245,12 +251,12 @@ The following table lists the configurable parameters of the `ace` chart and the
Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade -i`. For example:

```bash
$ helm upgrade -i ace appscode/ace -n ace --create-namespace --version=v2026.5.22 --set gateway.tls.secret.name="ace-cert"
$ helm upgrade -i ace appscode/ace -n ace --create-namespace --version=v2026.6.15-alpha --set gateway.tls.secret.name="ace-cert"
```

Alternatively, a YAML file that specifies the values for the parameters can be provided while
installing the chart. For example:

```bash
$ helm upgrade -i ace appscode/ace -n ace --create-namespace --version=v2026.5.22 --values values.yaml
$ helm upgrade -i ace appscode/ace -n ace --create-namespace --version=v2026.6.15-alpha --values values.yaml
```
4 changes: 4 additions & 0 deletions charts/ace/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,12 @@ Returns the ServiceMonitor labels
Determine database host name
*/}}
{{- define "settings.database.host" -}}
{{- if .Values.settings.pgpool.enabled -}}
{{- printf "%s-pgpool.%s.svc:5432" (include "ace.fullname" .) .Release.Namespace -}}
{{- else -}}
{{- printf "%s-db.%s.svc:5432" (include "ace.fullname" .) .Release.Namespace -}}
{{- end -}}
{{- end -}}

{{- define "settings.oauth2JWTSecret" -}}
{{ .Values.settings.security.oauth2JWTSecret | default (randAlphaNum 43) }}
Expand Down
47 changes: 47 additions & 0 deletions charts/ace/templates/db/pgpool.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{{- if .Values.settings.pgpool.enabled }}
apiVersion: kubedb.com/v1alpha2
kind: Pgpool
metadata:
name: {{ include "ace.fullname" . }}-pgpool
namespace: {{ .Release.Namespace }}
labels:
{{- include "ace.labels" . | nindent 4 }}
spec:
version: "{{ .Values.settings.pgpool.version }}"
replicas: {{ .Values.settings.pgpool.replicas }}
postgresRef:
name: {{ include "ace.fullname" . }}-db
namespace: {{ .Release.Namespace }}
syncUsers: true
deletionPolicy: {{ .Values.settings.db.deletionPolicy }}
podTemplate:
spec:
containers:
- name: pgpool
resources:
{{- toYaml .Values.settings.pgpool.resources | nindent 10 }}
{{- if eq (include "distro.openshift" $) "true" }}
securityContext:
runAsGroup: {{ .Values.securityContext.runAsUser }}
runAsUser: {{ .Values.securityContext.runAsUser }}
capabilities:
drop:
- ALL
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
securityContext:
fsGroup: {{ .Values.securityContext.runAsUser }}
runAsUser: {{ .Values.securityContext.runAsUser }}
runAsGroup: {{ .Values.securityContext.runAsUser }}
{{- end }}
{{- if .Values.global.monitoring }}
monitor:
agent: {{ .Values.global.monitoring.agent }}
prometheus:
serviceMonitor:
interval: 30s
labels:
{{- toYaml .Values.global.monitoring.serviceMonitor.labels | nindent 10 }}
{{- end }}
{{- end }}
47 changes: 47 additions & 0 deletions charts/ace/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24481,6 +24481,53 @@ properties:
- apiURL
- preSharedKey
type: object
pgpool:
properties:
enabled:
type: boolean
replicas:
type: integer
resources:
properties:
claims:
items:
properties:
name:
type: string
request:
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object
version:
type: string
required:
- enabled
- replicas
- resources
- version
type: object
platform:
properties:
appName:
Expand Down
10 changes: 10 additions & 0 deletions charts/ace/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,16 @@ settings:
username: postgres
password: "xyz"
logSQL: false
pgpool:
enabled: false
version: "4.5.0"
replicas: 2
resources:
limits:
memory: 512Mi
requests:
memory: 256Mi
cpu: 250m
cache:
version: "7.2.4"
cacheInterval: 60
Expand Down
Loading