Skip to content
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

chore: allow cross-architecture image for migration init container #1547

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion helm-charts/infisical-standalone-postgres/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.6
version: 1.0.7

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
58 changes: 58 additions & 0 deletions helm-charts/infisical-standalone-postgres/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# infisical-standalone

![Version: 1.0.7](https://img.shields.io/badge/Version-1.0.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)

A helm chart for a full Infisical application

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 14.1.3 |
| https://charts.bitnami.com/bitnami | redis | 18.14.0 |
| https://kubernetes.github.io/ingress-nginx | ingress-nginx | 4.0.13 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| fullnameOverride | string | `""` | |
| infisical.affinity | object | `{}` | |
| infisical.autoDatabaseSchemaMigration | bool | `true` | |
| infisical.deploymentAnnotations | object | `{}` | |
| infisical.enabled | bool | `true` | |
| infisical.fullnameOverride | string | `""` | |
| infisical.image.pullPolicy | string | `"IfNotPresent"` | |
| infisical.image.repository | string | `"infisical/infisical"` | |
| infisical.image.tag | string | `"v0.46.3-postgres"` | |
| infisical.kubeSecretRef | string | `"infisical-secrets"` | |
| infisical.name | string | `"infisical"` | |
| infisical.podAnnotations | object | `{}` | |
| infisical.replicaCount | int | `2` | |
| infisical.resources.limits.memory | string | `"350Mi"` | |
| infisical.resources.requests.cpu | string | `"350m"` | |
| infisical.service.annotations | object | `{}` | |
| infisical.service.nodePort | string | `""` | |
| infisical.service.type | string | `"ClusterIP"` | |
| infisical.waitHelperImage | string | `"ghcr.io/groundnuty/k8s-wait-for:no-root-v2.0"` | |
| ingress.annotations | object | `{}` | |
| ingress.enabled | bool | `true` | |
| ingress.hostName | string | `""` | |
| ingress.ingressClassName | string | `"nginx"` | |
| ingress.nginx.enabled | bool | `true` | |
| ingress.tls | list | `[]` | |
| nameOverride | string | `""` | |
| postgresql.auth.database | string | `"infisicalDB"` | |
| postgresql.auth.password | string | `"root"` | |
| postgresql.auth.username | string | `"infisical"` | |
| postgresql.enabled | bool | `true` | |
| postgresql.fullnameOverride | string | `"postgresql"` | |
| postgresql.name | string | `"postgresql"` | |
| redis.architecture | string | `"standalone"` | |
| redis.auth.password | string | `"mysecretpassword"` | |
| redis.cluster.enabled | bool | `false` | |
| redis.enabled | bool | `true` | |
| redis.fullnameOverride | string | `"redis"` | |
| redis.name | string | `"redis"` | |
| redis.usePassword | bool | `true` | |

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
{{- if $infisicalValues.autoDatabaseSchemaMigration }}
initContainers:
- name: "migration-init"
image: "groundnuty/k8s-wait-for:1.3"
image: {{ $infisicalValues.waitHelperImage | quote }}
imagePullPolicy: {{ $infisicalValues.image.pullPolicy }}
args:
- "job"
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/infisical-standalone-postgres/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ infisical:
tag: "v0.46.3-postgres"
pullPolicy: IfNotPresent

waitHelperImage: ghcr.io/groundnuty/k8s-wait-for:no-root-v2.0

affinity: {}
kubeSecretRef: "infisical-secrets"
service:
Expand Down