Compare commits

...

7 Commits

Author SHA1 Message Date
3dc8bc7ff0 Change matrix URL 2025-08-20 23:36:58 +02:00
a5f4b7b0c6 Fix deployment to build before 2025-08-20 23:36:43 +02:00
1435055978 Fixing chart 2025-08-20 14:18:54 +02:00
121481c3ea Remove github references 2025-08-20 13:51:01 +02:00
b7d75d1eb0 Add go repo meta and change font-awesome
- Font awesome hasn't got gitea icon, fork-awesome has it
- Allow katenary.io to be the go package name
2025-08-20 13:50:42 +02:00
f257bee149 Add a redirection from .org to .io 2025-08-15 22:59:35 +02:00
ac6b75de11 Change domain to "katenary.io" 2025-08-15 22:59:23 +02:00
19 changed files with 128 additions and 73 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
venv venv
node_modules node_modules
!statics/dist
dist dist
.parcel-cache .parcel-cache

View File

@@ -4,13 +4,13 @@ NS=katenary
build: dist chart build: dist chart
chart: dist 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) dist: $(wildcard src/* compose.yaml)
rm -rf dist 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" 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 helm -n $(NS) upgrade --install $(RELEASE) ./chart/ -f override.yaml --create-namespace
sleep 1 sleep 1
$(MAKE) add-redirect $(MAKE) add-redirect

View File

@@ -68,7 +68,7 @@ def tranform(name: str, ns: str, domain: str) -> dict:
if __name__ == "__main__": if __name__ == "__main__":
name = os.getenv("NAME", "website-server") # name of the ingress name = os.getenv("NAME", "website-server") # name of the ingress
ns = os.getenv("NAMESPACE", "katenary") # namespace 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) transformed = tranform(name, ns, domain)
print(yaml.dump(transformed)) print(yaml.dump(transformed))

View File

@@ -1,12 +1,13 @@
# This is the main values.yaml file for the website chart. # This is the main values.yaml file for the website chart.
# More information can be found in the chart's README.md file. # 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 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 of the chart (required), basically the name of the project.
name: website name: website
icon: https://repo.katenary.io/Katenary/katenary/raw/branch/master/doc/docs/statics/icon.svg
apiVersion: v2 apiVersion: v2
# Version of the chart (required) # Version of the chart (required)

View File

@@ -28,7 +28,7 @@ The following table lists the configurable parameters of the website chart and t
| `server.imagePullPolicy` | `IfNotPresent` | | `server.imagePullPolicy` | `IfNotPresent` |
| `server.ingress.class` | `-` | | `server.ingress.class` | `-` |
| `server.ingress.enabled` | `false` | | `server.ingress.enabled` | `false` |
| `server.ingress.host` | `katenary.org` | | `server.ingress.host` | `katenary.io` |
| `server.ingress.path` | `/` | | `server.ingress.path` | `/` |
| `server.ingress.tls.enabled` | `true` | | `server.ingress.tls.enabled` | `true` |
| `server.ingress.tls.secretName` | `` | | `server.ingress.tls.secretName` | `` |

View File

@@ -2,8 +2,8 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
annotations: annotations:
katenary.v3/compose-hash: ad8a7a55c2536a97d1e04148b6677ce1c72b6d5c katenary.v3/compose-hash: 0c69ac40895910ccdabc3a2655ff7a3e6f5cf9fa
katenary.v3/version: develop-89fd516 katenary.v3/version: 3.0.0-rc5
labels: labels:
{{- include "website.labels" . | nindent 4 }} {{- include "website.labels" . | nindent 4 }}
katenary.v3/component: server katenary.v3/component: server

View File

@@ -5,8 +5,8 @@ apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
annotations: annotations:
katenary.v3/compose-hash: ad8a7a55c2536a97d1e04148b6677ce1c72b6d5c katenary.v3/compose-hash: 0c69ac40895910ccdabc3a2655ff7a3e6f5cf9fa
katenary.v3/version: develop-89fd516 katenary.v3/version: 3.0.0-rc5
{{- if .Values.server.ingress.annotations -}} {{- if .Values.server.ingress.annotations -}}
{{- toYaml .Values.server.ingress.annotations | nindent 4 }} {{- toYaml .Values.server.ingress.annotations | nindent 4 }}
{{- end }} {{- end }}

View File

@@ -2,8 +2,8 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
katenary.v3/compose-hash: ad8a7a55c2536a97d1e04148b6677ce1c72b6d5c katenary.v3/compose-hash: 0c69ac40895910ccdabc3a2655ff7a3e6f5cf9fa
katenary.v3/version: develop-89fd516 katenary.v3/version: 3.0.0-rc5
labels: labels:
{{- include "website.labels" . | nindent 4 }} {{- include "website.labels" . | nindent 4 }}
katenary.v3/component: server katenary.v3/component: server

File diff suppressed because one or more lines are too long

View File

@@ -36,7 +36,7 @@ server:
# key: server.ingress.annotations # key: server.ingress.annotations
annotations: {} annotations: {}
# key: server.ingress.host # key: server.ingress.host
host: katenary.org host: katenary.io
# key: server.ingress.path # key: server.ingress.path
path: / path: /
# key: server.ingress.class # key: server.ingress.class

View File

@@ -7,7 +7,7 @@ services:
- ./dist:/usr/share/nginx/html - ./dist:/usr/share/nginx/html
labels: labels:
katenary.v3/ingress: |- katenary.v3/ingress: |-
hostname: katenary.org hostname: katenary.io
port: 80 port: 80
katenary.v3/configmap-files: |- katenary.v3/configmap-files: |-

46
ingress-redirect.yaml Normal file
View 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"

View File

@@ -2,6 +2,6 @@ server:
replicas: 2 replicas: 2
ingress: ingress:
enabled: true enabled: true
host: www.katenary.org host: www.katenary.io
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod cert-manager.io/cluster-issuer: letsencrypt-prod

View File

@@ -1,6 +1,7 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta name="go-import" content="katenary.io git https://repo.katenary.io/katenary/katenary">
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta <meta
@@ -16,9 +17,12 @@
<title>Katenary - Effortless Helm Chart Conversion</title> <title>Katenary - Effortless Helm Chart Conversion</title>
<link rel="stylesheet" href="main.css" /> <link rel="stylesheet" href="main.css" />
<link <link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet"
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 <link

View File

@@ -434,13 +434,12 @@ footer {
text-align: center; text-align: center;
padding: 20px 0; padding: 20px 0;
font-size: 0.9rem; font-size: 0.9rem;
flex-wrap: wrap;
} }
footer section { footer section {
padding: 20px; padding: 20px;
text-align: center; text-align: center;
flex: 1 1 250px; flex: 1 1 250px !important;
} }
footer section p { footer section p {

View File

@@ -33,12 +33,12 @@
<p>For this website:</p> <p>For this website:</p>
<ul> <ul>
<li> <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 to follow, star, and contribute
</li> </li>
<li> <li>
<a <a
href="https://matrix.to/#/!JuGCanxvQEESclXmfX:matrix.org?via=matrix.org" href="https://matrix.to/#/#katenary:matrix.org"
>Discussion on Matrix.org</a >Discussion on Matrix.org</a
> >
the official Matrix channel for Katenary the official Matrix channel for Katenary

View File

@@ -4,8 +4,8 @@
<p>Download Katenarys binary and start using it today.</p> <p>Download Katenarys binary and start using it today.</p>
<pre><code>sh &lt;(curl -sSL https://raw.githubusercontent.com/Katenary/katenary/master/install.sh)</code></pre> <pre><code>sh &lt;(curl -sSL https://raw.githubusercontent.com/Katenary/katenary/master/install.sh)</code></pre>
<p> <p>
<a href="https://github.com/Katenary/katenary" class="btn-primary" <a href="https://repo.katenary.io/Katenary/katenary" class="btn-primary"
>Go to GitHub</a >Go to the source repository</a
> >
</p> </p>
</div> </div>

View File

@@ -28,7 +28,7 @@
</p> </p>
<div class="image-placeholder"> <div class="image-placeholder">
<img <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" alt="Katenary Workflow"
/> />
</div> </div>

View File

@@ -1,5 +1,5 @@
<button class="btn-primary" id="menu-toggle"> <button class="btn-primary" id="menu-toggle">
<i class="fas fa-bars"></i> <i class="fa fa-bars"></i>
</button> </button>
<div class="navbar"> <div class="navbar">
<div class="container"> <div class="container">
@@ -8,14 +8,14 @@
<li> <li>
<a href="#"><i class="fa fa-house"></i> Katenary</a> <a href="#"><i class="fa fa-house"></i> Katenary</a>
</li> </li>
<li><a href="#features">Why Katenary?</a></li> <li><a href="#features"><i class="fa fa-gears"></i> Why Katenary?</a></li>
<li><a href="#how-it-works">How It Works</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">How to use</a></li> <li><a href="#how-to-use"><i class="fa fa-lightbulb-o"></i> How to use</a></li>
<li><a href="#tutorials">Tutorials</a></li> <li><a href="#tutorials"><i class="fa fa-university"></i>Tutorials</a></li>
<li><a href="#get-started">Get Started</a></li> <li><a href="#get-started"><i class="fa fa-spin fa-gear"></i> Get Started</a></li>
<li> <li>
<a href="https://github.com/Katenary/katenary" target="_blank" <a href="https://repo.katenary.io/Katenary/katenary" target="_blank"
><i class="fab fa-github"></i> Katenary on GitHub</a ><i class="fa fa-gitea"></i> Katenary repository</a
> >
</li> </li>
</ul> </ul>