Skip to content

Commit

Permalink
fix: helm chart use remote ref
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Jul 31, 2023
1 parent c3d50b7 commit d8b24dc
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 568 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.9.1
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.9.1
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.9.1
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.9.1
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
58 changes: 42 additions & 16 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.9.1
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,15 +589,27 @@ metadata:
kontinuous/plugin.log: \\"false\\"
namespace: test-extends-ovh
spec:
instances: 1
instances: 3
imageName: ghcr.io/cloudnative-pg/postgis:14
imagePullPolicy: IfNotPresent
storage:
size: 8Gi
storageClass: managed-csi
backup:
retentionPolicy: 60d
barmanObjectStore: {}
barmanObjectStore:
destinationPath: s3://fabrique-prod/test-extends-ovh
endpointURL: https://s3.gra.io.cloud.ovh.net
s3Credentials:
accessKeyId:
key: ovh_bucket_access_key
name: fabrique-prod-backups-access-key
region:
key: ovh_bucket_region
name: fabrique-prod-backups-access-key
secretAccessKey:
key: ovh_bucket_secret_key
name: fabrique-prod-backups-access-key
minSyncReplicas: 0
maxSyncReplicas: 0
postgresql: {}
Expand All @@ -623,10 +636,10 @@ kind: Cluster
metadata:
name: pg-keycloak
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.9.1
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 @@ -637,6 +650,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 @@ -653,15 +667,27 @@ metadata:
kontinuous/plugin.log: \\"false\\"
namespace: test-extends-ovh
spec:
instances: 1
instances: 3
imageName: ghcr.io/cloudnative-pg/postgis:14
imagePullPolicy: IfNotPresent
storage:
size: 8Gi
storageClass: managed-csi
backup:
retentionPolicy: 60d
barmanObjectStore: {}
barmanObjectStore:
destinationPath: s3://fabrique-prod/test-extends-ovh
endpointURL: https://s3.gra.io.cloud.ovh.net
s3Credentials:
accessKeyId:
key: ovh_bucket_access_key
name: fabrique-prod-backups-access-key
region:
key: ovh_bucket_region
name: fabrique-prod-backups-access-key
secretAccessKey:
key: ovh_bucket_secret_key
name: fabrique-prod-backups-access-key
minSyncReplicas: 0
maxSyncReplicas: 0
postgresql: {}
Expand Down Expand Up @@ -742,10 +768,10 @@ kind: Pooler
metadata:
name: pg-hasura-rw
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.9.1
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 @@ -777,10 +803,10 @@ kind: Pooler
metadata:
name: pg-keycloak-rw
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.9.1
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 Expand Up @@ -812,10 +838,10 @@ kind: ScheduledBackup
metadata:
name: pg-hasura-scheduledbackup
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.9.1
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 @@ -843,10 +869,10 @@ kind: ScheduledBackup
metadata:
name: pg-keycloak-scheduledbackup
labels:
helm.sh/chart: cnpg-cluster-1.8.0
helm.sh/chart: cnpg-cluster-1.9.1
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

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d8b24dc

Please sign in to comment.