Skip to content

Commit

Permalink
change kubectl apply (#960)
Browse files Browse the repository at this point in the history
Signed-off-by: rongfu.leng <1275177125@qq.com>
  • Loading branch information
lengrongfu committed Sep 7, 2022
1 parent 53b6bce commit 72f3363
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
kustomize edit add secret github-token --disableNameSuffixHash --from-literal=GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
kustomize edit add patch --path patch/github-token.yaml
kustomize edit set image goharbor/harbor-operator=${dockerImage}
kustomize build | kubectl apply -f -
kustomize build | kubectl create -f -
if ! time kubectl -n ${operatorNamespace} wait --for=condition=Available deployment --all --timeout 300s; then
kubectl get all -n ${operatorNamespace}
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
kustomize edit add secret github-token --disableNameSuffixHash --from-literal=GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
kustomize edit add patch --path patch/github-token.yaml
kustomize edit set image goharbor/harbor-operator=${dockerImage}
kustomize build | kubectl apply -f -
kustomize build | kubectl create -f -
if ! time kubectl -n ${operatorNamespace} wait --for=condition=Available deployment --all --timeout 300s; then
kubectl get all -n ${operatorNamespace}
Expand Down
4 changes: 2 additions & 2 deletions manifests/cluster/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ commonAnnotations:
resources:
- ../../config/default # harbor operator
- patch/namespace.yaml
- https://raw.githubusercontent.com/spotahome/redis-operator/master/example/operator/all-redis-operator-resources.yaml?ref=v1.1.1 # redis operator
- https://raw.githubusercontent.com/spotahome/redis-operator/master/manifests/databases.spotahome.com_redisfailovers.yaml?ref=v1.1.1 # redis operator crd
- https://raw.githubusercontent.com/spotahome/redis-operator/v1.1.1/example/operator/all-redis-operator-resources.yaml # redis operator
- https://raw.githubusercontent.com/spotahome/redis-operator/v1.1.1/manifests/databases.spotahome.com_redisfailovers.yaml # redis operator crd
- github.com/zalando/postgres-operator/manifests?ref=v1.6.3 # postgresql operator
- github.com/minio/operator?ref=v4.4.28 # minIO storage operator

Expand Down

0 comments on commit 72f3363

Please sign in to comment.