{"id":27916749,"url":"https://github.com/waylonwalker/k8s-pages","last_synced_at":"2026-01-23T07:05:04.403Z","repository":{"id":275848274,"uuid":"927378439","full_name":"WaylonWalker/k8s-pages","owner":"WaylonWalker","description":"Static pages from k8s with minio backend and nginx reverse proxy.","archived":false,"fork":false,"pushed_at":"2025-05-17T14:16:17.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T07:27:53.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Smarty","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WaylonWalker.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-04T21:19:59.000Z","updated_at":"2025-05-17T14:16:20.000Z","dependencies_parsed_at":"2025-05-06T16:44:28.457Z","dependency_job_id":"9dfe12eb-31ec-40ed-8dfd-5c94221c2f5c","html_url":"https://github.com/WaylonWalker/k8s-pages","commit_stats":null,"previous_names":["waylonwalker/k8s-pages"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/WaylonWalker/k8s-pages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaylonWalker%2Fk8s-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaylonWalker%2Fk8s-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaylonWalker%2Fk8s-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaylonWalker%2Fk8s-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WaylonWalker","download_url":"https://codeload.github.com/WaylonWalker/k8s-pages/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaylonWalker%2Fk8s-pages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28682280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-06T16:39:37.441Z","updated_at":"2026-01-23T07:05:04.390Z","avatar_url":"https://github.com/WaylonWalker.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# k8s-pages Helm Chart\n\nThis repository contains a Helm chart for deploying an NGINX reverse proxy configured with dynamic site definitions, configurable caching headers for Cloudflare (using `stale-while-revalidate`), and more. The chart is designed to be deployed either via the Helm CLI or using Argo CD for GitOps-style continuous delivery.\n\n## Features\n\n- **Dynamic Site Configuration:** Define multiple sites with individual hosts, backend URLs, and host headers.\n- **Configurable Caching:** Set the `Cache-Control` header to control browser/CDN caching with `max-age` and `stale-while-revalidate` directives.\n- **NGINX Reverse Proxy:** Leverages a ConfigMap to generate the NGINX configuration, a Deployment to run NGINX, and a Service/Ingress for routing.\n- **GitOps Ready:** Easily deploy via Argo CD by pointing to this GitHub repository.\n\n## Prerequisites\n\n- **Kubernetes Cluster:** Ensure you have a running Kubernetes cluster.\n- **Helm 3:** [Install Helm 3](https://helm.sh/docs/intro/install/).\n- **Argo CD (optional):** If you prefer a GitOps approach, install [Argo CD](https://argo-cd.readthedocs.io/en/stable/getting_started/).\n\n## Configuration\n\nThe default configuration is defined in `helm-chart/values.yaml`. Here you can set:\n\n``` yaml\n# The namespace where all resources will be created.\nnamespace: k8s-pages\n# Number of replicas for the deployment.\nreplicaCount: 1\n# List of sites to configure.\nbucket: \"k8s-pages\"\nsites:\n  - name: pages\n    host: example.com\n    # URL to which the proxy_pass should direct traffic. (Include protocol and path)\n    minioURL: \"minio.minio.svc.cluster.local:9000\"\n    # The host header to set when proxying.\n    minioHost: \"minio.example.com\"\n    # Error Page\n    errorPage: \"/404.html\"\n    maxAge: 31536000\n    staleWhileRevalidate: 86400\n```\n\n## Deploying with Argo CD\n\n``` yaml\napiVersion: argoproj.io/v1alpha1\nkind: Application\nmetadata:\n  name: k8s-pages\n  namespace: argocd  # Namespace where Argo CD is installed\nspec:\n  project: default\n  source:\n    repoURL: 'https://github.com/waylonwalker/k8s-pages.git'\n    targetRevision: HEAD\n    path: helm-chart\n    helm:\n      valueFiles:\n        - values.yaml\n      # Optional: Override values with parameters\n      # parameters:\n      #   - name: replicaCount\n      #     value: \"2\"\n  destination:\n    server: 'https://kubernetes.default.svc'\n    namespace: mypages  # Target namespace for deployment\n  syncPolicy:\n    automated:\n      prune: true\n      selfHeal: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaylonwalker%2Fk8s-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaylonwalker%2Fk8s-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaylonwalker%2Fk8s-pages/lists"}