Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Jul 28, 2023
1 parent 17a0758 commit 942b943
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 317 deletions.
18 changes: 10 additions & 8 deletions packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,10 +557,10 @@ kind: Cluster
metadata:
name: pg-hasura
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.8.4
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-feature-branch-1
Expand All @@ -571,6 +571,7 @@ metadata:
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
app.kubernetes.io/managed-by: Helm
kontinuous/chartPath: project.fabrique.pg-hasura.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-hasura/charts/cnpg-cluster/templates/cluster.cnpg.yaml
kontinuous/plugin.needs: |
Expand Down Expand Up @@ -619,10 +620,10 @@ kind: Cluster
metadata:
name: pg-keycloak
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.8.4
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-feature-branch-1
Expand All @@ -633,6 +634,7 @@ metadata:
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
app.kubernetes.io/managed-by: Helm
kontinuous/chartPath: project.fabrique.pg-keycloak.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-keycloak/charts/cnpg-cluster/templates/cluster.cnpg.yaml
kontinuous/plugin.needs: |
Expand Down Expand Up @@ -681,10 +683,10 @@ kind: Pooler
metadata:
name: pg-hasura-rw
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.8.4
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-feature-branch-1
Expand Down Expand Up @@ -716,10 +718,10 @@ kind: Pooler
metadata:
name: pg-keycloak-rw
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.8.4
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-feature-branch-1
Expand Down
22 changes: 12 additions & 10 deletions packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,10 @@ kind: Cluster
metadata:
name: pg-hasura
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.8.4
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-prod
Expand All @@ -572,6 +572,7 @@ metadata:
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
app.kubernetes.io/managed-by: Helm
kontinuous/chartPath: project.fabrique.pg-hasura.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-hasura/charts/cnpg-cluster/templates/cluster.cnpg.yaml
kontinuous/plugin.needs: |
Expand All @@ -588,7 +589,7 @@ metadata:
kontinuous/plugin.log: \\"false\\"
namespace: test-extends-ovh
spec:
instances: 1
instances: 3
imageName: ghcr.io/cloudnative-pg/postgis:14
imagePullPolicy: IfNotPresent
storage:
Expand Down Expand Up @@ -620,10 +621,10 @@ kind: Cluster
metadata:
name: pg-keycloak
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.8.4
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-prod
Expand All @@ -634,6 +635,7 @@ metadata:
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
app.kubernetes.io/managed-by: Helm
kontinuous/chartPath: project.fabrique.pg-keycloak.cnpg-cluster
kontinuous/source: project/charts/fabrique/charts/pg-keycloak/charts/cnpg-cluster/templates/cluster.cnpg.yaml
kontinuous/plugin.needs: |
Expand All @@ -650,7 +652,7 @@ metadata:
kontinuous/plugin.log: \\"false\\"
namespace: test-extends-ovh
spec:
instances: 1
instances: 3
imageName: ghcr.io/cloudnative-pg/postgis:14
imagePullPolicy: IfNotPresent
storage:
Expand Down Expand Up @@ -736,10 +738,10 @@ kind: Pooler
metadata:
name: pg-hasura-rw
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.8.4
app.kubernetes.io/name: pg-hasura
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-prod
Expand Down Expand Up @@ -771,10 +773,10 @@ kind: Pooler
metadata:
name: pg-keycloak-rw
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.8.4
app.kubernetes.io/name: pg-keycloak
app.kubernetes.io/instance: release-name
app.kubernetes.io/version: 14.5-6
app.kubernetes.io/version: \\"15\\"
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
kontinuous/deployment.env: test-extends-ovh-prod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,14 @@ data:
MB_ANON_TRACKING_ENABLED: \\"false\\"
MB_APPLICATION_LOGO_URL: https://socialgouv.github.io/support/_media/marianne.jpeg
MB_EMAIL_FROM_ADDRESS: contact@fabrique.social.gouv.fr
MB_EMAIL_FROM_NAME: Fabrique numérique des ministères sociaux
MB_ENABLE_EMBEDDING: \\"true\\"
MB_ENABLE_PUBLIC_SHARING: \\"true\\"
MB_SITE_LOCALE: fr
MB_SITE_NAME: Fabrique des ministères sociaux
MB_START_OF_WEEK: monday
MB_SITE_NAME: Fabrique numérique des ministères sociaux
MB_SITE_URL: https://metabase-test-ingress-annotations.fabrique.social.gouv.fr
MB_PASSWORD_COMPLEXITY: strong
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -245,7 +248,6 @@ kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
some: annotation
kontinuous/chartPath: project.fabrique.contrib.metabase
kontinuous/source: project/charts/fabrique/charts/contrib/charts/metabase/templates/ingress.yaml
kontinuous/deployment: test-ingress-annotations-feature-branch-1-ffac537e6cb-2rmdjfgo
Expand Down
Loading

0 comments on commit 942b943

Please sign in to comment.