feat(Docusaurus): Add Docusaurus (#3589)
* feat(Docusaurus): Add Docusaurus * spacing * more spacing * Ugh * progress - add default website env * Update charts/incubator/docusaurus/values.yaml * fine root it is * fix nonroot user false * Update charts/incubator/docusaurus/values.yaml * Update charts/incubator/docusaurus/values.yaml * Update charts/incubator/docusaurus/values.yaml * Update charts/incubator/docusaurus/questions.yaml * Update charts/incubator/docusaurus/questions.yaml * Update charts/incubator/docusaurus/questions.yaml * Update charts/incubator/docusaurus/questions.yaml * Update charts/incubator/docusaurus/questions.yaml Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
parent
9fccd234dc
commit
4f2185138d
|
@ -0,0 +1,30 @@
|
|||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
# helm-docs templates
|
||||
*.gotmpl
|
||||
# docs folder
|
||||
/docs
|
||||
# icon
|
||||
icon.png
|
|
@ -0,0 +1,31 @@
|
|||
apiVersion: v2
|
||||
appVersion: "latest"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.truecharts.org
|
||||
version: 10.5.0
|
||||
deprecated: false
|
||||
description: Docusaurus makes it easy to maintain Open Source documentation websites.
|
||||
home: https://truecharts.org/docs/charts/incubator/docusaurus
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/docusaurus.png
|
||||
keywords:
|
||||
- documentation
|
||||
- website
|
||||
- Docusaurus
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
maintainers:
|
||||
- email: info@truecharts.org
|
||||
name: TrueCharts
|
||||
url: https://truecharts.org
|
||||
name: docusaurus
|
||||
sources:
|
||||
- https://hub.docker.com/r/awesometic/docusaurus
|
||||
- https://github.com/awesometic/docker-docusaurus
|
||||
type: application
|
||||
version: 0.0.1
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- website
|
||||
- documentation
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/grade: U
|
|
@ -0,0 +1 @@
|
|||
# Docusaurus
|
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
|
@ -0,0 +1,153 @@
|
|||
# Include{groups}
|
||||
portals:
|
||||
open:
|
||||
# Include{portalLink}
|
||||
questions:
|
||||
# Include{global}
|
||||
# Include{controller}
|
||||
# Include{controllerDeployment}
|
||||
# Include{replicas}
|
||||
# Include{replica1}
|
||||
# Include{strategy}
|
||||
# Include{recreate}
|
||||
# Include{controllerExpert}
|
||||
# Include{controllerExpertExtraArgs}
|
||||
- variable: env
|
||||
group: "Container Configuration"
|
||||
label: "Image Environment"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: AUTO_UPDATE
|
||||
label: "Auto Update"
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
- variable: WEBSITE_NAME
|
||||
label: "Website Name"
|
||||
description: "The name for your Docusaurus website"
|
||||
schema:
|
||||
type: string
|
||||
default: "Docusaurus HomeLab Website"
|
||||
- variable: TEMPLATE
|
||||
label: "Docusaurus Default Template"
|
||||
description: "Default template for your Docusaurus website"
|
||||
schema:
|
||||
type: string
|
||||
default: "classic"
|
||||
- variable: RUN_MODE
|
||||
label: "Run Mode"
|
||||
description: "Specify the mode to start Docusaurus"
|
||||
schema:
|
||||
type: string
|
||||
default: "Production"
|
||||
enum:
|
||||
- value: production
|
||||
description: Production
|
||||
- value: development
|
||||
description: Development
|
||||
# Include{containerConfig}
|
||||
# Include{serviceRoot}
|
||||
- variable: main
|
||||
label: "Main Service"
|
||||
description: "The Primary service on which the healthcheck runs, often the webUI"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{serviceSelector}
|
||||
- variable: main
|
||||
label: "Main Service Port Configuration"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: port
|
||||
label: "Port"
|
||||
description: "This port exposes the container port on the service"
|
||||
schema:
|
||||
type: int
|
||||
default: 13080
|
||||
required: true
|
||||
# Include{advancedPortHTTP}
|
||||
- variable: targetPort
|
||||
label: "Target Port"
|
||||
description: "The internal(!) port on the container the Application runs on"
|
||||
schema:
|
||||
type: int
|
||||
default: 80
|
||||
# Include{serviceExpertRoot}
|
||||
default: false
|
||||
# Include{serviceExpert}
|
||||
# Include{serviceList}
|
||||
# Include{persistenceRoot}
|
||||
- variable: config
|
||||
label: "App Config Storage"
|
||||
description: "Stores the Application Configuration."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
# Include{persistenceAdvanced}
|
||||
# Include{persistenceList}
|
||||
# Include{ingressRoot}
|
||||
- variable: main
|
||||
label: "Main Ingress"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{ingressDefault}
|
||||
# Include{ingressTLS}
|
||||
# Include{ingressTraefik}
|
||||
# Include{ingressExpert}
|
||||
# Include{ingressList}
|
||||
# Include{security}
|
||||
# Include{securityContextAdvancedRoot}
|
||||
- variable: privileged
|
||||
label: "Privileged mode"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: readOnlyRootFilesystem
|
||||
label: "ReadOnly Root Filesystem"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: allowPrivilegeEscalation
|
||||
label: "Allow Privilege Escalation"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: runAsNonRoot
|
||||
label: "runAsNonRoot"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
# Include{securityContextAdvanced}
|
||||
# Include{podSecurityContextRoot}
|
||||
- variable: runAsUser
|
||||
label: "runAsUser"
|
||||
description: "The UserID of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 0
|
||||
- variable: runAsGroup
|
||||
label: "runAsGroup"
|
||||
description: "The groupID this App of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 0
|
||||
- variable: fsGroup
|
||||
label: "fsGroup"
|
||||
description: "The group that should own ALL storage."
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
# Include{podSecurityContextAdvanced}
|
||||
# Include{resources}
|
||||
# Include{advanced}
|
||||
# Include{addons}
|
||||
# Include{documentation}
|
|
@ -0,0 +1 @@
|
|||
{{ include "tc.common.loader.all" . }}
|
|
@ -0,0 +1,35 @@
|
|||
image:
|
||||
repository: tccr.io/truecharts/docusaurus
|
||||
pullPolicy: IfNotPresent
|
||||
tag: latest@sha256:b1f84f0cf4fe9e96ba199e0edc78101718a84ca48fb1b547b4fb342db5f72564
|
||||
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
protocol: HTTP
|
||||
targetPort: 80
|
||||
port: 13080
|
||||
|
||||
env:
|
||||
TARGET_UID: "{{ .Values.security.PUID }}"
|
||||
TARGET_GID: "{{ .Values.podSecurityContext.fsGroup }}"
|
||||
AUTO_UPDATE: true
|
||||
WEBSITE_NAME: "Docusaurus HomeLab Website"
|
||||
TEMPLATE: classic
|
||||
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
mountPath: "/docusaurus"
|
||||
|
||||
portal:
|
||||
enabled: true
|
Loading…
Reference in New Issue