Skip to content

Commit

Permalink
feat: Move cloudnative-pg under harbor (#3013)
Browse files Browse the repository at this point in the history
* feat: Move cloudnative-pg under harbor

* build: Updated .github/service-labeler.yaml

---------

Co-authored-by: d2iq-mergebot <[email protected]>
  • Loading branch information
jimmidyson and d2iq-mergebot authored Jan 15, 2025
1 parent dd6a1a9 commit 6bfad21
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 19 deletions.
4 changes: 0 additions & 4 deletions .github/service-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ services/chartmuseum:
- changed-files:
- any-glob-to-any-file:
- services/chartmuseum/**
services/cloudnative-pg:
- changed-files:
- any-glob-to-any-file:
- services/cloudnative-pg/**
services/dex:
- changed-files:
- any-glob-to-any-file:
Expand Down
5 changes: 0 additions & 5 deletions services/cloudnative-pg/0.23.0/defaults/kustomization.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions services/cloudnative-pg/metadata.yaml

This file was deleted.

26 changes: 26 additions & 0 deletions services/harbor/1.16.0/cloudnative-pg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cloudnative-pg
namespace: ${releaseNamespace}
spec:
force: false
prune: true
wait: true
interval: 6h
retryInterval: 1m
path: ./services/harbor/1.16.0/cloudnative-pg
sourceRef:
kind: GitRepository
name: management
namespace: kommander-flux
timeout: 1m
postBuild:
substituteFrom:
- kind: ConfigMap
name: substitution-vars
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
name: cloudnative-pg
namespace: ${releaseNamespace}
2 changes: 1 addition & 1 deletion services/harbor/1.16.0/database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
kind: HelmRelease
name: harbor-database
namespace: ${releaseNamespace}
- apiVersion: postgresql.cnpg.io
- apiVersion: postgresql.cnpg.io/v1
kind: Cluster
name: harbor-database-cluster
namespace: ${releaseNamespace}
1 change: 1 addition & 0 deletions services/harbor/1.16.0/defaults/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ kind: Kustomization
resources:
- harbor.yaml
- database.yaml
- cloudnative-pg.yaml
1 change: 1 addition & 0 deletions services/harbor/1.16.0/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ resources:
- release.yaml
- ncr-system-namespace.yaml
- pre-install.yaml
- cloudnative-pg.yaml
- database.yaml

0 comments on commit 6bfad21

Please sign in to comment.