Skip to content

Commit

Permalink
add kustomize
Browse files Browse the repository at this point in the history
Signed-off-by: cndoit18 <cndoit18@outlook.com>
  • Loading branch information
cndoit18 authored and bitsf committed Jun 30, 2021
1 parent 112e363 commit 92439b6
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ $(CHARTS_DIRECTORY)/harbor-operator-$(RELEASE_VERSION).tgz: $(CHART_HARBOR_OPERA
--app-version $(RELEASE_VERSION) \
--destination $(CHARTS_DIRECTORY)

$(CHART_HARBOR_OPERATOR)/crds: config/crd/bases
$(CHART_HARBOR_OPERATOR)/crds: kustomize config/crd/bases
rm -rf '$@'
mkdir '$@'
$(KUSTOMIZE) build config/helm/crds/ -o '$@'
Expand Down
26 changes: 23 additions & 3 deletions manifests/cluster/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34104,14 +34104,14 @@ webhooks:
service:
name: webhook-service
namespace: harbor-operator-ns
path: /validate-goharbor-io-v1alpha3-harborcluster
path: /validate-goharbor-io-v1beta1-harborcluster
failurePolicy: Fail
name: vharborcluster.kb.io
name: vharborcluster.kb.io.v1beta1
rules:
- apiGroups:
- goharbor.io
apiVersions:
- v1alpha3
- v1beta1
operations:
- CREATE
- UPDATE
Expand All @@ -34138,6 +34138,26 @@ webhooks:
resources:
- harbors
sideEffects: None
- admissionReviewVersions:
- v1beta1
clientConfig:
service:
name: webhook-service
namespace: harbor-operator-ns
path: /validate-goharbor-io-v1alpha3-harborcluster
failurePolicy: Fail
name: vharborcluster.kb.io
rules:
- apiGroups:
- goharbor.io
apiVersions:
- v1alpha3
operations:
- CREATE
- UPDATE
resources:
- harborclusters
sideEffects: None
- admissionReviewVersions:
- v1beta1
clientConfig:
Expand Down
26 changes: 23 additions & 3 deletions manifests/harbor/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26422,14 +26422,14 @@ webhooks:
service:
name: webhook-service
namespace: harbor-operator-ns
path: /validate-goharbor-io-v1alpha3-harborcluster
path: /validate-goharbor-io-v1beta1-harborcluster
failurePolicy: Fail
name: vharborcluster.kb.io
name: vharborcluster.kb.io.v1beta1
rules:
- apiGroups:
- goharbor.io
apiVersions:
- v1alpha3
- v1beta1
operations:
- CREATE
- UPDATE
Expand All @@ -26456,6 +26456,26 @@ webhooks:
resources:
- harbors
sideEffects: None
- admissionReviewVersions:
- v1beta1
clientConfig:
service:
name: webhook-service
namespace: harbor-operator-ns
path: /validate-goharbor-io-v1alpha3-harborcluster
failurePolicy: Fail
name: vharborcluster.kb.io
rules:
- apiGroups:
- goharbor.io
apiVersions:
- v1alpha3
operations:
- CREATE
- UPDATE
resources:
- harborclusters
sideEffects: None
- admissionReviewVersions:
- v1beta1
clientConfig:
Expand Down

0 comments on commit 92439b6

Please sign in to comment.