Skip to content

Commit

Permalink
Merge pull request #152 from sjflausino/stage
Browse files Browse the repository at this point in the history
fix(mockserver)
  • Loading branch information
sjflausino authored Sep 11, 2023
2 parents 1065bbc + ceae6ef commit be9f310
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export VKPR_EXTERNAL_DNS_VERSION="1.10.1" \
VKPR_ARGOCD_EVENTS_VERSION="2.0.5" \
VKPR_ARGOCD_WORKFLOWS_VERSION="0.19.6" \
VKPR_JAEGER_VERSION="0.69.1" \
VKPR_MOCKSERVER_VERSION="5.14.0" \
VKPR_MOCKSERVER_VERSION="5.15.0" \
VKPR_DEVPORTAL_VERSION="0.9.0" \
VKPR_NEXUS_VERSION="4.14.0" \
VKPR_EXTERNAL_SECRETS_VERSION="0.6.0" \
Expand Down
6 changes: 4 additions & 2 deletions vkpr/mockserver/install/src/unix/formula/formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ validateInputs() {
}

settingMockServer() {
YQ_VALUES=".ingress.hosts[0] = \"$VKPR_ENV_MOCKSERVER_DOMAIN\" |
.ingress.ingressClass.name = \"$VKPR_ENV_MOCKSERVER_INGRESS_CLASS_NAME\"
YQ_VALUES=".ingress.hosts[0].host = \"$VKPR_ENV_MOCKSERVER_DOMAIN\" |
.ingress.hosts[0].paths[0].path = \"/\" |
.ingress.hosts[0].paths[0].pathType = \"ImplementationSpecific\" |
.ingress.className = \"$VKPR_ENV_MOCKSERVER_INGRESS_CLASS_NAME\"
"

if [[ "$VKPR_ENV_GLOBAL_SECURE" == true ]]; then
Expand Down
4 changes: 2 additions & 2 deletions vkpr/mockserver/install/src/utils/mockserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ service:
type: ClusterIP
ingress:
enabled: true
ingressClass:
enabled: true
className: nginx
path: /

0 comments on commit be9f310

Please sign in to comment.