Skip to content

Commit

Permalink
feat: external pgweb chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Jul 28, 2023
1 parent 2b5c29d commit b5fae81
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 132 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ node_modules
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
!.yarn/
Chart.lock

/.env
/kontinuous-dist
3 changes: 3 additions & 0 deletions packages/kontinuous/tests/samples/pgweb/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies:
fabrique:
import: socialgouv/kontinuous/plugins/fabrique
4 changes: 0 additions & 4 deletions plugins/contrib/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ dependencies:
repository: file://./charts/oauth2-proxy
version: 1.161.5
condition: oauth2-proxy.enabled
- name: pgweb
repository: file://./charts/pgweb
version: 1.161.5
condition: pgweb.enabled
- name: redis
repository: file://./charts/redis
version: 1.161.5
Expand Down
3 changes: 0 additions & 3 deletions plugins/contrib/charts/pgweb/Chart.yaml

This file was deleted.

64 changes: 0 additions & 64 deletions plugins/contrib/charts/pgweb/templates/deployment.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions plugins/contrib/charts/pgweb/templates/ingress.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions plugins/contrib/charts/pgweb/templates/service.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions plugins/contrib/charts/pgweb/values.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions plugins/fabrique/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ dependencies:
repository: file://./charts/pg
version: 1.161.5
condition: pg.enabled
- name: pgweb
repository: file://./charts/pgweb
version: 1.161.5
condition: pgweb.enabled
- name: maildev
repository: file://./charts/maildev
version: 1.161.5
Expand Down
8 changes: 8 additions & 0 deletions plugins/fabrique/charts/pgweb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v2
name: pgweb
version: 1.136.3
dependencies:
- name: pgweb
degit: socialgouv/helm-charts/charts/pgweb@v1
condition: pgweb.enabled
version: "1"
5 changes: 5 additions & 0 deletions plugins/fabrique/charts/pgweb/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pgweb:
enabled: true
~tpl~repositoryName: "{{ .Values.global.repositoryName }}"
ingress:
~tpl~annotations: "{{ .Values.global.ingress.annotations | toJson }}"

0 comments on commit b5fae81

Please sign in to comment.