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
3 changes: 3 additions & 0 deletions charts/kaneo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ helm uninstall my-kaneo
| `nameOverride` | String to partially override the fullname template (will maintain the release name) | `""` |
| `fullnameOverride` | String to fully override the fullname template | `""` |
| `replicaCount` | Number of replicas (ignored if autoscaling is enabled) | `1` |
| `enableServiceLinks` | Controls Pod's enableServiceLinks field | `false` |
| `topologySpreadConstraints` | Controls Pod's topologySpreadConstraints field | `[]` |
### Autoscaling parameters
| Name | Description | Value |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------- |
Expand Down Expand Up @@ -116,6 +118,7 @@ When CPU autoscaling is enabled, set `kaneo.resources.requests.cpu`; Kubernetes
| `kaneo.env.database.external.existingSecret.name` | Name of the secret containing the database connection URI | `""` |
| `kaneo.env.database.external.existingSecret.passwordKey` | Key in the secret whose value is a full PostgreSQL connection URI | `postgres_uri` |
| `kaneo.extraEnv` | Additional Kubernetes EnvVar entries appended to the Kaneo container | `[]` |
| `kaneo.extraEnvFrom` | Additional Kubernetes EnvFromSource entries appended to the Kaneo container | `[]` |
| `kaneo.resources` | Resource requests and limits for the Kaneo container (optional, disabled by default) | `{}` |
| `podSecurityContext` | Security context applied at the Pod level | `{}` |
| `securityContext` | Security context applied at the container level | `{}` |
Expand Down
13 changes: 13 additions & 0 deletions charts/kaneo/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@ spec:
{{- include "kaneo.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: kaneo
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "kaneo.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
enableServiceLinks: {{ default false .Values.enableServiceLinks }}
containers:
- name: kaneo
securityContext:
Expand Down Expand Up @@ -90,6 +95,10 @@ spec:
{{- with .Values.kaneo.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.kaneo.extraEnvFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
livenessProbe:
{{- toYaml .Values.kaneo.livenessProbe | nindent 12 }}
readinessProbe:
Expand All @@ -109,3 +118,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
7 changes: 7 additions & 0 deletions charts/kaneo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ podSecurityContext: {}
nodeSelector: {}
tolerations: []
affinity: {}
topologySpreadConstraints: []
imagePullSecrets: []
Comment thread
qodo-free-for-open-source-projects[bot] marked this conversation as resolved.
enableServiceLinks: false
# Service account configuration
serviceAccount:
create: true
Expand Down Expand Up @@ -132,6 +135,10 @@ kaneo:
# secretKeyRef:
# name: oauth-secret
# key: client-id
extraEnvFrom: []
# extraEnvFrom:
# - secretRef:
# name: oauth-secret
livenessProbe:
httpGet:
path: /api/health
Expand Down
Loading