Compare commits
7 Commits
8419da2398
...
main
Author | SHA1 | Date | |
---|---|---|---|
3dc8bc7ff0
|
|||
a5f4b7b0c6
|
|||
1435055978
|
|||
121481c3ea
|
|||
b7d75d1eb0
|
|||
f257bee149 | |||
ac6b75de11 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
venv
|
||||
node_modules
|
||||
!statics/dist
|
||||
dist
|
||||
.parcel-cache
|
||||
|
4
Makefile
4
Makefile
@@ -4,13 +4,13 @@ NS=katenary
|
||||
build: dist chart
|
||||
|
||||
chart: dist
|
||||
katenary convert -f -p deploy
|
||||
katenary convert -f -p deploy -i https://repo.katenary.io/Katenary/katenary/raw/branch/master/doc/docs/statics/icon.svg
|
||||
|
||||
dist: $(wildcard src/* compose.yaml)
|
||||
rm -rf dist
|
||||
podman run --rm -it -u $(id -u):$(id -g) -v $(PWD):/app -w /app node:alpine sh -c "yarn install && yarn parcel build --no-source-maps"
|
||||
|
||||
deploy:
|
||||
deploy: build
|
||||
helm -n $(NS) upgrade --install $(RELEASE) ./chart/ -f override.yaml --create-namespace
|
||||
sleep 1
|
||||
$(MAKE) add-redirect
|
||||
|
@@ -68,7 +68,7 @@ def tranform(name: str, ns: str, domain: str) -> dict:
|
||||
if __name__ == "__main__":
|
||||
name = os.getenv("NAME", "website-server") # name of the ingress
|
||||
ns = os.getenv("NAMESPACE", "katenary") # namespace
|
||||
domain = os.getenv("DOMAIN", "katenary.org") # domain name without www
|
||||
domain = os.getenv("DOMAIN", "katenary.io") # domain name without www
|
||||
transformed = tranform(name, ns, domain)
|
||||
|
||||
print(yaml.dump(transformed))
|
||||
|
@@ -1,12 +1,13 @@
|
||||
# This is the main values.yaml file for the website chart.
|
||||
# More information can be found in the chart's README.md file.
|
||||
#
|
||||
# generated at: 2025-07-13T12:10:43+02:00
|
||||
# generated at: 2025-08-20T23:24:21+02:00
|
||||
# compose files: compose.katenary.yaml, compose.yaml
|
||||
# compose hash (sha1): ad8a7a55c2536a97d1e04148b6677ce1c72b6d5c
|
||||
# compose hash (sha1): 0c69ac40895910ccdabc3a2655ff7a3e6f5cf9fa
|
||||
|
||||
# Name of the chart (required), basically the name of the project.
|
||||
name: website
|
||||
icon: https://repo.katenary.io/Katenary/katenary/raw/branch/master/doc/docs/statics/icon.svg
|
||||
apiVersion: v2
|
||||
|
||||
# Version of the chart (required)
|
||||
|
@@ -28,7 +28,7 @@ The following table lists the configurable parameters of the website chart and t
|
||||
| `server.imagePullPolicy` | `IfNotPresent` |
|
||||
| `server.ingress.class` | `-` |
|
||||
| `server.ingress.enabled` | `false` |
|
||||
| `server.ingress.host` | `katenary.org` |
|
||||
| `server.ingress.host` | `katenary.io` |
|
||||
| `server.ingress.path` | `/` |
|
||||
| `server.ingress.tls.enabled` | `true` |
|
||||
| `server.ingress.tls.secretName` | `` |
|
||||
|
@@ -2,8 +2,8 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
katenary.v3/compose-hash: ad8a7a55c2536a97d1e04148b6677ce1c72b6d5c
|
||||
katenary.v3/version: develop-89fd516
|
||||
katenary.v3/compose-hash: 0c69ac40895910ccdabc3a2655ff7a3e6f5cf9fa
|
||||
katenary.v3/version: 3.0.0-rc5
|
||||
labels:
|
||||
{{- include "website.labels" . | nindent 4 }}
|
||||
katenary.v3/component: server
|
||||
|
@@ -5,8 +5,8 @@ apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
katenary.v3/compose-hash: ad8a7a55c2536a97d1e04148b6677ce1c72b6d5c
|
||||
katenary.v3/version: develop-89fd516
|
||||
katenary.v3/compose-hash: 0c69ac40895910ccdabc3a2655ff7a3e6f5cf9fa
|
||||
katenary.v3/version: 3.0.0-rc5
|
||||
{{- if .Values.server.ingress.annotations -}}
|
||||
{{- toYaml .Values.server.ingress.annotations | nindent 4 }}
|
||||
{{- end }}
|
||||
|
@@ -2,8 +2,8 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
katenary.v3/compose-hash: ad8a7a55c2536a97d1e04148b6677ce1c72b6d5c
|
||||
katenary.v3/version: develop-89fd516
|
||||
katenary.v3/compose-hash: 0c69ac40895910ccdabc3a2655ff7a3e6f5cf9fa
|
||||
katenary.v3/version: 3.0.0-rc5
|
||||
labels:
|
||||
{{- include "website.labels" . | nindent 4 }}
|
||||
katenary.v3/component: server
|
||||
|
File diff suppressed because one or more lines are too long
@@ -36,7 +36,7 @@ server:
|
||||
# key: server.ingress.annotations
|
||||
annotations: {}
|
||||
# key: server.ingress.host
|
||||
host: katenary.org
|
||||
host: katenary.io
|
||||
# key: server.ingress.path
|
||||
path: /
|
||||
# key: server.ingress.class
|
||||
|
@@ -7,7 +7,7 @@ services:
|
||||
- ./dist:/usr/share/nginx/html
|
||||
labels:
|
||||
katenary.v3/ingress: |-
|
||||
hostname: katenary.org
|
||||
hostname: katenary.io
|
||||
port: 80
|
||||
|
||||
katenary.v3/configmap-files: |-
|
||||
|
46
ingress-redirect.yaml
Normal file
46
ingress-redirect.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
# Source: website/templates/server/ingress.yaml
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
katenary.v3/compose-hash: 0c69ac40895910ccdabc3a2655ff7a3e6f5cf9fa
|
||||
katenary.v3/version: 3.0.0-rc5
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/permanent-redirect: https://katenary.io$request_uri
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||
|
||||
labels:
|
||||
katenary.v3/name: website
|
||||
katenary.v3/instance: website
|
||||
katenary.v3/chart-version: "0.1.0"
|
||||
katenary.v3/app-version: "0.1.0"
|
||||
katenary.v3/component: server
|
||||
name: "website-server-org"
|
||||
spec:
|
||||
rules:
|
||||
- host: "katenary.org"
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: "website-server"
|
||||
port:
|
||||
name: http
|
||||
path: "/"
|
||||
pathType: ImplementationSpecific
|
||||
- host: "www.katenary.org"
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: "website-server"
|
||||
port:
|
||||
name: http
|
||||
path: "/"
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- hosts:
|
||||
- "www.katenary.org"
|
||||
- "katenary.org"
|
||||
secretName: "website-server-tls-org"
|
@@ -2,6 +2,6 @@ server:
|
||||
replicas: 2
|
||||
ingress:
|
||||
enabled: true
|
||||
host: www.katenary.org
|
||||
host: www.katenary.io
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
|
@@ -1,6 +1,7 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="go-import" content="katenary.io git https://repo.katenary.io/katenary/katenary">
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta
|
||||
@@ -16,9 +17,12 @@
|
||||
<title>Katenary - Effortless Helm Chart Conversion</title>
|
||||
<link rel="stylesheet" href="main.css" />
|
||||
|
||||
<link
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
|
||||
rel="stylesheet"
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.2.0/css/fork-awesome.min.css"
|
||||
integrity="sha512-aupidr80M36SeyviA/hZ2uEPnvt2dTJfyjm9y6z1MgaV13TgzmDiFdsH3cvSNG27mRIj7gJ2gNeg1HeySJyE3Q=="
|
||||
crossorigin="anonymous"
|
||||
referrerpolicy="no-referrer"
|
||||
/>
|
||||
|
||||
<link
|
||||
|
@@ -434,13 +434,12 @@ footer {
|
||||
text-align: center;
|
||||
padding: 20px 0;
|
||||
font-size: 0.9rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
footer section {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
flex: 1 1 250px;
|
||||
flex: 1 1 250px !important;
|
||||
}
|
||||
|
||||
footer section p {
|
||||
|
@@ -33,12 +33,12 @@
|
||||
<p>For this website:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/Katenary/katenary">Katenary on GitHub</a>
|
||||
<a href="https://repo.katenary.io/Katenary/katenary">Katenary repository</a>
|
||||
to follow, star, and contribute
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://matrix.to/#/!JuGCanxvQEESclXmfX:matrix.org?via=matrix.org"
|
||||
href="https://matrix.to/#/#katenary:matrix.org"
|
||||
>Discussion on Matrix.org</a
|
||||
>
|
||||
the official Matrix channel for Katenary
|
||||
|
@@ -4,8 +4,8 @@
|
||||
<p>Download Katenary’s binary and start using it today.</p>
|
||||
<pre><code>sh <(curl -sSL https://raw.githubusercontent.com/Katenary/katenary/master/install.sh)</code></pre>
|
||||
<p>
|
||||
<a href="https://github.com/Katenary/katenary" class="btn-primary"
|
||||
>Go to GitHub</a
|
||||
<a href="https://repo.katenary.io/Katenary/katenary" class="btn-primary"
|
||||
>Go to the source repository</a
|
||||
>
|
||||
</p>
|
||||
</div>
|
||||
|
@@ -28,7 +28,7 @@
|
||||
</p>
|
||||
<div class="image-placeholder">
|
||||
<img
|
||||
src="https://github.com/Katenary/katenary/raw/refs/heads/develop/doc/docs/statics/workflow.svg"
|
||||
src="https://repo.katenary.io/Katenary/katenary/raw/branch/master/doc/docs/statics/workflow.svg"
|
||||
alt="Katenary Workflow"
|
||||
/>
|
||||
</div>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<button class="btn-primary" id="menu-toggle">
|
||||
<i class="fas fa-bars"></i>
|
||||
<i class="fa fa-bars"></i>
|
||||
</button>
|
||||
<div class="navbar">
|
||||
<div class="container">
|
||||
@@ -8,14 +8,14 @@
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-house"></i> Katenary</a>
|
||||
</li>
|
||||
<li><a href="#features">Why Katenary?</a></li>
|
||||
<li><a href="#how-it-works">How It Works</a></li>
|
||||
<li><a href="#how-to-use">How to use</a></li>
|
||||
<li><a href="#tutorials">Tutorials</a></li>
|
||||
<li><a href="#get-started">Get Started</a></li>
|
||||
<li><a href="#features"><i class="fa fa-gears"></i> Why Katenary?</a></li>
|
||||
<li><a href="#how-it-works"><i class="fa fa-flash"></i> How It Works</a></li>
|
||||
<li><a href="#how-to-use"><i class="fa fa-lightbulb-o"></i> How to use</a></li>
|
||||
<li><a href="#tutorials"><i class="fa fa-university"></i>Tutorials</a></li>
|
||||
<li><a href="#get-started"><i class="fa fa-spin fa-gear"></i> Get Started</a></li>
|
||||
<li>
|
||||
<a href="https://github.com/Katenary/katenary" target="_blank"
|
||||
><i class="fab fa-github"></i> Katenary on GitHub</a
|
||||
<a href="https://repo.katenary.io/Katenary/katenary" target="_blank"
|
||||
><i class="fa fa-gitea"></i> Katenary repository</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user