Skip to content

Commit

Permalink
Merge pull request #153 from vertigobr/stage
Browse files Browse the repository at this point in the history
Stage
  • Loading branch information
sjflausino authored Sep 11, 2023
2 parents 27b5a29 + be9f310 commit 2ab21fa
Show file tree
Hide file tree
Showing 4 changed files with 18 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
11 changes: 11 additions & 0 deletions vkpr/apply/src/unix/formula/formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ applyConfig(){
#17
installTempo

#18
installDevportal

}

installArgoCD(){
Expand Down Expand Up @@ -234,4 +237,12 @@ installTempo(){
if [ "$TEMPO_EXISTS" == true ]; then
rit vkpr tempo install --default
fi
}

installDevportal(){
DEVPORTAL_EXISTS=$($VKPR_YQ eval .devportal.enabled "$VKPR_GLOBAL_CONFIG")
if [ "$DEVPORTAL_EXISTS" == true ]; then
rit vkpr devportal install --default
fi

}
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 2ab21fa

Please sign in to comment.