Skip to content

Commit 6b2d3a0

Browse files
committed
deploy(docs): test url
Signed-off-by: Polina Sizintseva <[email protected]>
1 parent 1ac8b01 commit 6b2d3a0

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

.helm/templates/20-ingress-tuf-router.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{- $host = ( printf "%s.%s" .Values.werf.env (pluck "dev" .Values.host | first | default .Values.host._default ) | lower ) }}
44
{{- end }}
55
{{- $targetCluster := include "targetCluster" . }}
6-
{{- $ruHost := printf "ru.%s" $host }}
6+
{{- $ruHost := pluck .Values.werf.env .Values.ruHost | first | default (printf "ru.%s" $host) }}
77

88
apiVersion: networking.k8s.io/v1
99
kind: Ingress

.helm/templates/20-ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{- $host = ( printf "%s.%s" .Values.werf.env (pluck "dev" .Values.host | first | default .Values.host._default ) | lower ) }}
44
{{- end }}
55
{{- $targetCluster := include "targetCluster" . }}
6-
{{- $ruHost := printf "ru.%s" $host }}
6+
{{- $ruHost := pluck .Values.werf.env .Values.ruHost | first | default (printf "ru.%s" $host) }}
77
{{- $wwwHost := printf "www.%s" $host }}
88
{{- if eq .Values.werf.env "production" }}
99
---

.helm/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ host:
2525
dev: werf.dev.flant.dev
2626
_default: werf.test.flant.dev
2727

28+
ruHost:
29+
production: ru-test.werf.io
30+
2831
ingressClassName:
2932
_default: "nginx"
3033
production: "standalone-geo"

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ output: web
22

33
site_title: werf
44
site_urls:
5-
ru: https://ru.werf.io
5+
ru: https://ru-test.werf.io
66
en: https://werf.io
77
editlink: "https://github.com/werf/website/edit/main"
88
canonical_url_prefix: /docs/v2

_config_ru.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
company_name: Флант
22
company_url: https://flant.ru
3-
url: https://ru.werf.io
3+
url: https://ru-test.werf.io
44
site_lang: ru
55
issuelink: "https://github.com/werf/website/issues/new"
66
site_description: Инструмент консистентной доставки. Используем Git как единый источник истины. Собираем, деплоим в Kubernetes, синхронизируем изменения.

pages_ru/guides/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permalink: guides/index.html
1313
</a>
1414
<a href="{{ site.site_urls['ru'] }}" class="landing__button" data-proofer-ignore>
1515
{% asset arrow.svg %}
16-
<span>ru.werf.io</span>
16+
<span>ru-test.werf.io</span>
1717
</a>
1818
</div>
1919
<!-- end-spell-check-ignore -->

0 commit comments

Comments
 (0)