diff --git a/charts/incubator/shlink-web-client/Chart.yaml b/charts/incubator/shlink-web-client/Chart.yaml new file mode 100644 index 00000000000..838ed7d0609 --- /dev/null +++ b/charts/incubator/shlink-web-client/Chart.yaml @@ -0,0 +1,28 @@ +apiVersion: v2 +appVersion: "3.4.2" +dependencies: +- name: common + repository: https://truecharts.org + version: 8.9.25 +description: A ReactJS-based progressive web application for Shlink. +home: https://github.com/truecharts/apps/tree/master/charts/stable/shlink-web-client +icon: https://truecharts.org/_static/img/appicons/shlink-web-client-icon.png +keywords: +- url +- shortener +- frontend +kubeVersion: '>=1.16.0-0' +maintainers: +- email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: shlink-web-client +sources: +- https://github.com/shlinkio/shlink-web-client +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - utilities + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/charts/incubator/shlink-web-client/questions.yaml b/charts/incubator/shlink-web-client/questions.yaml new file mode 100644 index 00000000000..47fd5ea6251 --- /dev/null +++ b/charts/incubator/shlink-web-client/questions.yaml @@ -0,0 +1,294 @@ +# Include{groups} +portals: + web_portal: + protocols: + - "$kubernetes-resource_configmap_portal_protocol" + host: + - "$kubernetes-resource_configmap_portal_host" + ports: + - "$kubernetes-resource_configmap_portal_port" +questions: + - variable: portal + group: "Container Image" + label: "Configure Portal Button" + schema: + type: dict + hidden: true + attrs: + - variable: enabled + label: "Enable" + description: "enable the portal button" + schema: + hidden: true + editable: false + type: boolean + default: true +# Include{global} + + - variable: controller + group: "Controller" + label: "" + schema: + type: dict + attrs: + - variable: advanced + label: "Show Advanced Controller Settings" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: type + description: "Please specify type of workload to deploy" + label: "(Advanced) Controller Type" + schema: + type: string + default: "deployment" + required: true + enum: + - value: "deployment" + description: "Deployment" + - value: "statefulset" + description: "Statefulset" + - value: "daemonset" + description: "Daemonset" + - variable: replicas + description: "Number of desired pod replicas" + label: "Desired Replicas" + schema: + type: int + default: 1 + required: true + - variable: strategy + description: "Please specify type of workload to deploy" + label: "(Advanced) Update Strategy" + schema: + type: string + default: "Recreate" + required: true + enum: + - value: "Recreate" + description: "Recreate: Kill existing pods before creating new ones" + - value: "RollingUpdate" + description: "RollingUpdate: Create new pods and then kill old ones" + - value: "OnDelete" + description: "(Legacy) OnDelete: ignore .spec.template changes" +# Include{controllerExpert} + + - variable: env + group: "Container Configuration" + label: "Image Environment" + schema: + type: dict + attrs: +# Include{fixedEnv} + - variable: SHLINK_SERVER_URL + label: "Server URL" + description: "The fully qualified URL for the Shlink server." + schema: + type: string + default: "" + - variable: SHLINK_SERVER_API_KEY + label: "API Key" + description: "The API key. You can create API Key by opening a shell to shlink server and executing 'shlink api-key:generate' " + schema: + type: string + default: "" + - variable: SHLINK_SERVER_NAME + label: "Server Name" + description: "The name to be displayed. Defaults to Shlink if not provided." + schema: + type: string + default: "" +# Include{containerConfig} + - variable: service + group: "Networking and Services" + label: "Configure Service(s)" + schema: + type: dict + attrs: + - variable: main + label: "Main Service" + description: "The Primary service on which the healthcheck runs, often the webUI" + schema: + type: dict + attrs: +# Include{serviceSelector} + - variable: main + label: "Main Service Port Configuration" + schema: + type: dict + attrs: + - variable: advanced + label: "Show Advanced settings" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: enabled + label: "Enable the port" + schema: + type: boolean + default: true + - variable: protocol + label: "Port Type" + schema: + type: string + default: "HTTP" + enum: + - value: HTTP + description: "HTTP" + - value: "HTTPS" + description: "HTTPS" + - value: TCP + description: "TCP" + - value: "UDP" + description: "UDP" + - variable: nodePort + label: "Node Port (Optional)" + description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer" + schema: + type: int + min: 9000 + max: 65535 + - variable: targetPort + label: "Target Port" + description: "The internal(!) port on the container the Application runs on" + schema: + type: int + default: 80 + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 10154 + required: true + + - variable: serviceexpert + group: "Networking and Services" + label: "Show Expert Config" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostNetwork + group: "Networking and Services" + label: "Host-Networking (Complicated)" + schema: + type: boolean + default: false + +# Include{serviceExpert} + +# Include{serviceList} + +# Include{persistenceList} + + - variable: ingress + label: "" + group: "Ingress" + schema: + type: dict + attrs: + - variable: main + label: "Main Ingress" + schema: + type: dict + attrs: +# Include{ingressDefault} + +# Include{ingressTLS} + +# Include{ingressTraefik} + +# Include{ingressExpert} + +# Include{ingressList} + + - variable: advancedSecurity + label: "Show Advanced Security Settings" + group: "Security and Permissions" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: securityContext + label: "Security Context" + schema: + type: dict + attrs: + - 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 + + - variable: podSecurityContext + group: "Security and Permissions" + label: "Pod Security Context" + schema: + type: dict + attrs: + - 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 + - variable: supplementalGroups + label: "supplemental Groups" + schema: + type: list + default: [] + items: + - variable: supplementalGroupsEntry + label: "supplemental Group" + schema: + type: int + - variable: fsGroupChangePolicy + label: "When should we take ownership?" + schema: + type: string + default: "OnRootMismatch" + enum: + - value: "OnRootMismatch" + description: "OnRootMismatch" + - value: "Always" + description: "Always" + +# Include{resources} + +# Include{advanced} + +# Include{addons} diff --git a/charts/incubator/shlink-web-client/templates/common.yaml b/charts/incubator/shlink-web-client/templates/common.yaml new file mode 100644 index 00000000000..a6613c2ce21 --- /dev/null +++ b/charts/incubator/shlink-web-client/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/incubator/shlink-web-client/values.yaml b/charts/incubator/shlink-web-client/values.yaml new file mode 100644 index 00000000000..88c4199007f --- /dev/null +++ b/charts/incubator/shlink-web-client/values.yaml @@ -0,0 +1,22 @@ +image: + repository: tccr.io/truecharts/shlink-web-client + pullPolicy: IfNotPresent + tag: v3.4.2@sha256:87c297799e41bb7e5928f4c9784637164fd86bfe61eecd47d6c8dc74ae9d1036 + +securityContext: + readOnlyRootFilesystem: false + runAsNonRoot: false + +podSecurityContext: + runAsUser: 0 + runAsGroup: 0 + +service: + main: + ports: + main: + targetPort: 80 + port: 10154 + protocol: HTTP + +env: {} diff --git a/charts/incubator/spotweb/Chart.yaml b/charts/incubator/spotweb/Chart.yaml index 99fb502ec1d..6e16dab055e 100644 --- a/charts/incubator/spotweb/Chart.yaml +++ b/charts/incubator/spotweb/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 appVersion: "1.5.1" kubeVersion: '>=1.16.0-0' -version: 0.0.2 +version: 0.0.3 name: spotweb description: Spotweb is a decentralized usenet community based on the Spotnet protocol. type: application diff --git a/charts/incubator/spotweb/questions.yaml b/charts/incubator/spotweb/questions.yaml index b562913a97c..777f01abfc4 100644 --- a/charts/incubator/spotweb/questions.yaml +++ b/charts/incubator/spotweb/questions.yaml @@ -182,7 +182,7 @@ questions: description: "This port exposes the container port on the service" schema: type: int - default: 11000 + default: 10050 editable: true required: true - variable: advanced diff --git a/charts/incubator/spotweb/values.yaml b/charts/incubator/spotweb/values.yaml index f48bb58e863..cc47da8967c 100644 --- a/charts/incubator/spotweb/values.yaml +++ b/charts/incubator/spotweb/values.yaml @@ -44,7 +44,7 @@ service: main: ports: main: - port: 11000 + port: 10050 targetPort: 80 # Enabled postgres diff --git a/docs/_static/img/appicons/shlink-web-client-icon.png b/docs/_static/img/appicons/shlink-web-client-icon.png new file mode 100644 index 00000000000..47521550a40 Binary files /dev/null and b/docs/_static/img/appicons/shlink-web-client-icon.png differ diff --git a/docs/manual/default-ports.md b/docs/manual/default-ports.md index ab4dd97e921..ccd401eff58 100644 --- a/docs/manual/default-ports.md +++ b/docs/manual/default-ports.md @@ -193,6 +193,7 @@ These defaults can of course be changed, but as we guarantee "sane, working defa | airsonic | main | main | 10047 | TCP | | | booksonic-air | main | main | 10048 | TCP | | | deepstack | main | main | 10049 | TCP | | +| spotweb | main | main | 10050 | TCP | | | firefox-syncserver | main | main | 10051 | TCP | | | whoogle | main | main | 10052 | TCP | | | handbrake | main | main | 10053 | TCP | | @@ -292,6 +293,7 @@ These defaults can of course be changed, but as we guarantee "sane, working defa | scrutiny | main | main | 10151 | TCP | | | kodi-headless | websocket | websocket | 10152 | TCP | | | shlink | main | main | 10153 | TCP | | +| shlink-web-client | main | main | 10154 | HTTP | | | hyperion-ng | boblightservice | boblightservice | 19333 | TCP | | | hyperion-ng | jsonservice | jsonservice | 19444 | TCP | | | hyperion-ng | protobufservice | protobufservice | 19445 | TCP | |