Add antora

This commit is contained in:
Danyliuk 2022-11-11 09:29:08 +02:00
parent 41f1ce0a4d
commit 5d57ffadc4
5 changed files with 48 additions and 1 deletions

19
.gitignore vendored Normal file
View File

@ -0,0 +1,19 @@
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/

9
antora.yml Normal file
View File

@ -0,0 +1,9 @@
name: law
version: ~ # https://docs.antora.org/antora/latest/component-with-no-version/
start_page: general.adoc
asciidoc:
attributes:
source-language: asciidoc@
table-caption: false
nav:
- modules/ROOT/nav.adoc

View File

@ -66,7 +66,7 @@ metadata:
external-dns.alpha.kubernetes.io/target: traefik.codemowers.ee
spec:
rules:
- host: venyae.codemowers.ee
- host: custom.codemowers.ee #<1>
http:
paths:
- pathType: Prefix

0
modules/ROOT/nav.adoc Normal file
View File

View File

@ -0,0 +1,19 @@
= NGiNX lab
Steps to local run:
1. in https://dashboard.codemowers.eu/ add sandbox.
2. Mark next options:
* Dex
* Instantiate Prometheus for this namespace
* Instantiate dedicated Traeifk instance in this namespace
3. Confirm new sandbox
4. Set your custom subdomain
[source, yaml]
----
include::../../../application.yml[]
----
<1> custom subdomain
5.kubectl apply -f application.yml -n {sandbox-name}