Skip to content

Commit

Permalink
feat: portal, console imagePullSecrets (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav-14 authored Oct 22, 2024
1 parent d0d7bbd commit ae65700
Show file tree
Hide file tree
Showing 16 changed files with 71 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
| Readme | Chart Version | App Version | Description | Hub |
|--------|---------------|-------------|-------------|-----|
| [Agent](./charts/agent/README.md) | v2.1.0 |v2.0.18 | Formance Membership Agent Helm Chart | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/agent)](https://artifacthub.io/packages/search?repo=agent) |
| [Cloudprem](./charts/cloudprem/README.md) | v2.0.0-beta.28 |v0.35.3 | Formance control-plane | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/cloudprem)](https://artifacthub.io/packages/search?repo=cloudprem) |
| [Console](./charts/console/README.md) | v1.0.0-beta.8 |9431e5f4b4b1a03cb8f02ef1676507b9c023f2bb | Formance Console | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/console)](https://artifacthub.io/packages/search?repo=console) |
| [Cloudprem](./charts/cloudprem/README.md) | v2.0.0-beta.29 |v0.35.3 | Formance control-plane | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/cloudprem)](https://artifacthub.io/packages/search?repo=cloudprem) |
| [Console](./charts/console/README.md) | v1.0.0-beta.9 |9431e5f4b4b1a03cb8f02ef1676507b9c023f2bb | Formance Console | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/console)](https://artifacthub.io/packages/search?repo=console) |
| [Core](./charts/core/README.md) | v1.0.0-beta.6 |latest | Formance Core Library | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/core)](https://artifacthub.io/packages/search?repo=core) |
| [Demo](./charts/demo/README.md) | 2.0.0 |latest | Formance Private Regions Demo | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/demo)](https://artifacthub.io/packages/search?repo=demo) |
| [Membership](./charts/membership/README.md) | v1.0.0-beta.17 |v0.35.3 | Formance Membership API. Manage stacks, organizations, regions, invitations, users, roles, and permissions. | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/membership)](https://artifacthub.io/packages/search?repo=membership) |
| [Portal](./charts/portal/README.md) | v1.0.0-beta.7 |764bb7e199e1d2882e4d5cd205eada0ef0abc283 | Formance Portal | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/portal)](https://artifacthub.io/packages/search?repo=portal) |
| [Portal](./charts/portal/README.md) | v1.0.0-beta.8 |764bb7e199e1d2882e4d5cd205eada0ef0abc283 | Formance Portal | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/portal)](https://artifacthub.io/packages/search?repo=portal) |
| [Regions](./charts/regions/README.md) | v2.1.2 |latest | Formance Private Regions Helm Chart | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/regions)](https://artifacthub.io/packages/search?repo=regions) |
| [Stargate](./charts/stargate/README.md) | 0.5.3 |latest | Formance Stargate gRPC Gateway | [![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/stargate)](https://artifacthub.io/packages/search?repo=stargate) |

Expand Down
8 changes: 4 additions & 4 deletions charts/cloudprem/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ dependencies:
version: v1.0.0-beta.17
- name: portal
repository: file://../portal
version: v1.0.0-beta.7
version: v1.0.0-beta.8
- name: console
repository: file://../console
version: v1.0.0-beta.8
digest: sha256:c9a539130c6925ceebf921eccad619291c50494407326c88bcb8d07f92582b52
generated: "2024-10-19T22:04:44.764593072Z"
version: v1.0.0-beta.9
digest: sha256:02ecb5f8a264f7ce2fd70db23187feb94207c16242e4bdfdfe8c03d91f86d70e
generated: "2024-10-21T23:06:53.833102971Z"
6 changes: 3 additions & 3 deletions charts/cloudprem/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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: "v2.0.0-beta.28"
version: "v2.0.0-beta.29"

# 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 All @@ -49,10 +49,10 @@ dependencies:
repository: file://../membership
condition: membership.enabled
- name: portal
version: v1.0.0-beta.7
version: v1.0.0-beta.8
repository: file://../portal
condition: portal.enabled
- name: console
version: v1.0.0-beta.8
version: v1.0.0-beta.9
repository: file://../console
condition: console.enabled
4 changes: 3 additions & 1 deletion charts/cloudprem/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/cloudprem)](https://artifacthub.io/packages/search?repo=cloudprem)
![Version: v2.0.0-beta.28](https://img.shields.io/badge/Version-v2.0.0--beta.28-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.35.3](https://img.shields.io/badge/AppVersion-v0.35.3-informational?style=flat-square)
![Version: v2.0.0-beta.29](https://img.shields.io/badge/Version-v2.0.0--beta.29-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.35.3](https://img.shields.io/badge/AppVersion-v0.35.3-informational?style=flat-square)

# Formance Cloudprem Helm Chart

Expand Down Expand Up @@ -470,6 +470,7 @@ Dex:
| console.image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| console.image.repository | string | `"ghcr.io/formancehq/console"` | image repository |
| console.image.tag | string | `"9431e5f4b4b1a03cb8f02ef1676507b9c023f2bb"` | image tag |
| console.imagePullSecrets | list | `[]` | image pull secrets |
| console.ingress.annotations | object | `{}` | ingress annotations |
| console.ingress.className | string | `""` | ingress class name |
| console.ingress.enabled | bool | `true` | ingress enabled |
Expand Down Expand Up @@ -587,6 +588,7 @@ Dex:
| portal.image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| portal.image.repository | string | `"ghcr.io/formancehq/membership-ui"` | image repository |
| portal.image.tag | string | `"764bb7e199e1d2882e4d5cd205eada0ef0abc283"` | image tag |
| portal.imagePullSecrets | list | `[]` | |
| portal.ingress.annotations | object | `{}` | ingress annotations |
| portal.ingress.className | string | `""` | ingress class name |
| portal.ingress.enabled | bool | `true` | ingress enabled |
Expand Down
32 changes: 32 additions & 0 deletions charts/cloudprem/profiles/11-membership-multi-user.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
global:
postgresql:
auth:
username: formance
password: formance
existingSecret: ""

membership:
# -- bind AWS ARN
serviceAccount:
create: true
name: ""
annotations: {}

config:
migration:
# -- bind AWS ARN
serviceAccount:
create: true
name: ""
annotations: {}
postgresql:
auth:
username: formance2
password: formance2
existingSecret: ""

# When internal postgresql is enabled only global is installed
# It need to be added using "bitnami/postgresql" chart
# or disabling internal postgresql
postgresql:
enabled: true
2 changes: 1 addition & 1 deletion charts/console/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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: "v1.0.0-beta.8"
version: "v1.0.0-beta.9"

# 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
3 changes: 2 additions & 1 deletion charts/console/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# console

![Version: v1.0.0-beta.8](https://img.shields.io/badge/Version-v1.0.0--beta.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 9431e5f4b4b1a03cb8f02ef1676507b9c023f2bb](https://img.shields.io/badge/AppVersion-9431e5f4b4b1a03cb8f02ef1676507b9c023f2bb-informational?style=flat-square)
![Version: v1.0.0-beta.9](https://img.shields.io/badge/Version-v1.0.0--beta.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 9431e5f4b4b1a03cb8f02ef1676507b9c023f2bb](https://img.shields.io/badge/AppVersion-9431e5f4b4b1a03cb8f02ef1676507b9c023f2bb-informational?style=flat-square)

Formance Console

Expand Down Expand Up @@ -77,6 +77,7 @@ Kubernetes: `>=1.14.0-0`
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"ghcr.io/formancehq/console"` | image repository |
| image.tag | string | `"9431e5f4b4b1a03cb8f02ef1676507b9c023f2bb"` | image tag |
| imagePullSecrets | list | `[]` | image pull secrets |
| ingress.annotations | object | `{}` | ingress annotations |
| ingress.className | string | `""` | ingress class name |
| ingress.enabled | bool | `true` | ingress enabled |
Expand Down
4 changes: 4 additions & 0 deletions charts/console/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
{{- include "core.selectorLabels" . | nindent 8 }}
spec:
serviceAccountName: {{ include "core.serviceAccountName" . }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: console
command:
Expand Down
3 changes: 3 additions & 0 deletions charts/console/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@
},
"type": "object"
},
"imagePullSecrets": {
"type": "array"
},
"ingress": {
"properties": {
"annotations": {
Expand Down
3 changes: 3 additions & 0 deletions charts/console/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ image:
# -- image tag
tag: 9431e5f4b4b1a03cb8f02ef1676507b9c023f2bb

# -- image pull secrets
imagePullSecrets: []

# -- Console resources
resources:
{}
Expand Down
1 change: 1 addition & 0 deletions charts/membership/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ dex:
configOverrides:
storage:
type: postgres

oauth2:
# -- oauth2 skip approval screen
# @section -- Dex configuration
Expand Down
2 changes: 1 addition & 1 deletion charts/portal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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: "v1.0.0-beta.7"
version: "v1.0.0-beta.8"

# 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
3 changes: 2 additions & 1 deletion charts/portal/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# portal

![Version: v1.0.0-beta.7](https://img.shields.io/badge/Version-v1.0.0--beta.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 764bb7e199e1d2882e4d5cd205eada0ef0abc283](https://img.shields.io/badge/AppVersion-764bb7e199e1d2882e4d5cd205eada0ef0abc283-informational?style=flat-square)
![Version: v1.0.0-beta.8](https://img.shields.io/badge/Version-v1.0.0--beta.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 764bb7e199e1d2882e4d5cd205eada0ef0abc283](https://img.shields.io/badge/AppVersion-764bb7e199e1d2882e4d5cd205eada0ef0abc283-informational?style=flat-square)

Formance Portal

Expand Down Expand Up @@ -70,6 +70,7 @@ Kubernetes: `>=1.14.0-0`
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"ghcr.io/formancehq/membership-ui"` | image repository |
| image.tag | string | `"764bb7e199e1d2882e4d5cd205eada0ef0abc283"` | image tag |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | ingress annotations |
| ingress.className | string | `""` | ingress class name |
| ingress.enabled | bool | `true` | ingress enabled |
Expand Down
4 changes: 4 additions & 0 deletions charts/portal/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
{{- include "core.selectorLabels" . | nindent 8 }}
spec:
serviceAccountName: {{ include "core.serviceAccountName" . }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "core.fullname" . }}
resources:
Expand Down
3 changes: 3 additions & 0 deletions charts/portal/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@
},
"type": "object"
},
"imagePullSecrets": {
"type": "array"
},
"ingress": {
"properties": {
"annotations": {
Expand Down
2 changes: 2 additions & 0 deletions charts/portal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ image:
# -- image tag
tag: 764bb7e199e1d2882e4d5cd205eada0ef0abc283

imagePullSecrets: []

serviceAccount:
# -- Service account creation
create: true
Expand Down

0 comments on commit ae65700

Please sign in to comment.