Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update precommit
  • Loading branch information
lucian-tosa committed May 1, 2025
commit a413119b4ebc27bd8ca35dbd8061a6a3b589a4c1
4 changes: 2 additions & 2 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function generate_standalone_yaml() {
# generate openshift public example
rm -rf "${charttmpdir:?}/*"
helm template --namespace mongodb -f helm_chart/values.yaml helm_chart --output-dir "${charttmpdir}" --values helm_chart/values-openshift.yaml ${HELM_OPTS[@]}
cat "${FILES[@]}" >public/mongodb-enterprise-openshift.yaml
cat "${FILES[@]}" >public/mongodb-kubernetes-openshift.yaml

# generate openshift files for kustomize used for generating OLM bundle
rm -rf "${charttmpdir:?}/*"
Expand All @@ -60,7 +60,7 @@ function generate_standalone_yaml() {
# generate multi-cluster public example
rm -rf "${charttmpdir:?}/*"
helm template --namespace mongodb -f helm_chart/values.yaml helm_chart --output-dir "${charttmpdir}" --values helm_chart/values-multi-cluster.yaml ${HELM_OPTS[@]}
cat "${FILES[@]}" >public/mongodb-enterprise-multi-cluster.yaml
cat "${FILES[@]}" >public/mongodb-kubernetes-multi-cluster.yaml

}

Expand Down