From 4b947295aebbdacede7c9b1c6a16dd6da49e42bb Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Sun, 30 Apr 2023 06:17:26 -0400 Subject: [PATCH] feat(sshwifty) add sshwifty (#8143) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** add sshwifty ⚒️ Fixes # **⚙️ Type of change** - [X] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [X] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/incubator/sshwifty/.helmignore | 30 +++ charts/incubator/sshwifty/CHANGELOG.md | 1 + charts/incubator/sshwifty/Chart.yaml | 27 +++ charts/incubator/sshwifty/README.md | 1 + charts/incubator/sshwifty/icon.png | Bin 0 -> 8923 bytes charts/incubator/sshwifty/questions.yaml | 180 ++++++++++++++++++ charts/incubator/sshwifty/templates/NOTES.txt | 1 + .../incubator/sshwifty/templates/common.yaml | 1 + charts/incubator/sshwifty/values.yaml | 56 ++++++ 9 files changed, 297 insertions(+) create mode 100644 charts/incubator/sshwifty/.helmignore create mode 100644 charts/incubator/sshwifty/CHANGELOG.md create mode 100644 charts/incubator/sshwifty/Chart.yaml create mode 100644 charts/incubator/sshwifty/README.md create mode 100644 charts/incubator/sshwifty/icon.png create mode 100644 charts/incubator/sshwifty/questions.yaml create mode 100644 charts/incubator/sshwifty/templates/NOTES.txt create mode 100644 charts/incubator/sshwifty/templates/common.yaml create mode 100644 charts/incubator/sshwifty/values.yaml diff --git a/charts/incubator/sshwifty/.helmignore b/charts/incubator/sshwifty/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/sshwifty/.helmignore @@ -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 diff --git a/charts/incubator/sshwifty/CHANGELOG.md b/charts/incubator/sshwifty/CHANGELOG.md new file mode 100644 index 00000000000..825c32f0d03 --- /dev/null +++ b/charts/incubator/sshwifty/CHANGELOG.md @@ -0,0 +1 @@ +# Changelog diff --git a/charts/incubator/sshwifty/Chart.yaml b/charts/incubator/sshwifty/Chart.yaml new file mode 100644 index 00000000000..49626f014c7 --- /dev/null +++ b/charts/incubator/sshwifty/Chart.yaml @@ -0,0 +1,27 @@ +apiVersion: v2 +appVersion: "latest" +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 12.4.21 +deprecated: false +description: SSHwifty is a SSH and Telnet connector made for the Web. +home: https://truecharts.org/charts/incubator/sshwifty +icon: https://truecharts.org/img/hotlink-ok/chart-icons/sshwifty.png +keywords: + - ssh +kubeVersion: ">=1.16.0-0" +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +name: sshwifty +sources: + - https://github.com/truecharts/charts/tree/master/charts/incubator/sshwifty + - https://github.com/niruix/sshwifty +type: application +version: 0.0.1 +annotations: + truecharts.org/catagories: | + - ssh + truecharts.org/SCALE-support: "true" diff --git a/charts/incubator/sshwifty/README.md b/charts/incubator/sshwifty/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/sshwifty/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/sshwifty/icon.png b/charts/incubator/sshwifty/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..2e308f38706038aaacf9c69ce07215a047288ef2 GIT binary patch literal 8923 zcmV<1A|&03P)&Vq+sR z#{3+>$ZIbLb}=?aVAf#!XS~>eut_2a84wr=ArQ()fB)zww+`|kbTd*8jU6kqa}{O*aqblWvpdJIsF(lww4pri<-2u1JM z7LaxnO+Y(J+Cg@sWIc-YXnP$Js8iqne&d(GV*)e0c7 ztM=JuK6W>-2utRn0&l2mzrXeW1L6hY*E4Gg*xvyzLP=G!Lk}AWo~`qE)`L7xP(P`r z-L~$3Eg*9LQ~i+86~L7!IX-I;+@0A25DZ{=_gO3l`70rwRyW+%@V^2Oxp(F;6t`mO zYk|Vg4TPQn){T-U(1Bm5t8d-@PYH<3m|2PDhbXxoCHcM`Z0!8c1q9PJjN%y-_oyqU z*ZorfA~R+df!u*`D-i5C2(fKm4$`X(=~V`0rI4441cQ(hguJ}yaiMMqhfsDT`o5(Z z)p7vU+yvq7Y(X#q7D4d`=)OaJ`>vM%v4F^oncqO<55SO~f*^f+p$AtWg9pNZa-^W( z&~CJ=1698lc5lbpy90HgF%t-;>)MTypK`^|o>VHn<9`4kGGk^XB7X)ZWgPiV5C&IZ zS68A(426Q2R#Qi2%vjx>uzfSumbIw*otdS^xkcs!*Qjs(`_?Z#ATr~LZz4Pf^v()| zl0x*j(dg=tNJ(+>!j2FSrn9Q{7Sv~JQ5!!(b+)EaWv=gcMIiSwobLrRO#N7rK4RzWb}zNpU;4A)C*)V6h4pDsnUHkm;1ZUv0O~O z4IuL1lLHCs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t3epCi9i4V002ovPDHLkV1f_oM~(mh literal 0 HcmV?d00001 diff --git a/charts/incubator/sshwifty/questions.yaml b/charts/incubator/sshwifty/questions.yaml new file mode 100644 index 00000000000..d9360249908 --- /dev/null +++ b/charts/incubator/sshwifty/questions.yaml @@ -0,0 +1,180 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} + +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} + - variable: env + label: Image Environment + schema: + additional_attrs: true + type: dict + attrs: + - variable: SSHWIFTY_HOSTNAME + label: HostName + description: HTTP Host. Keep it empty to accept request from all hosts + schema: + type: string + default: "" + - variable: SSHWIFTY_SHAREDKEY + label: SharedKey + description: Web interface access password. Set to empty to allow public access + schema: + type: string + private: true + default: "" + - variable: DialTimeout + label: Dial Timeout + description: Remote dial timeout in seconds. + schema: + type: int + default: 10 + - variable: SOCKS5 + label: Show SOCKS5 Section + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: SSHWIFTY_SOCKS5 + label: Socks5 Host + description: connect remote through the given proxy + schema: + type: string + default: "" + - variable: SSHWIFTY_SOCKS5_USER + label: Socks5 User + description: Username of the Socks5 server + schema: + type: string + default: "" + - variable: SSHWIFTY_SOCKS5_PASSWORD + label: Socks5 Password + description: Password of the Socks5 server + schema: + type: string + private: true + default: "" + - variable: SSHWIFTY_LISTENINTERFACE + label: Listen Interface + description: Which local network interface this server will be listening. + schema: + type: string + default: 0.0.0.0 + - variable: SSHWIFTY_INITIALTIMEOUT + label: Initial TimeOut + description: Timeout of initial request in Seconds. + schema: + type: int + default: 3 + - variable: SSHWIFTY_READTIMEOUT + label: Read TimeOut + description: How long does the connection can stay in idle before the backend server disconnects the client in Seconds. + schema: + type: int + default: 60 + - variable: SSHWIFTY_WRITETIMEOUT + label: Write TimeOut + description: How long the server will wait until the client connection is ready to receive new data in Seconds. + schema: + type: int + default: 60 + - variable: SSHWIFTY_HEARTBEATTIMEOUT + label: HeartBeat TimeOut + description: The interval between internal echo requests in Seconds. + schema: + type: int + default: 20 + - variable: SSHWIFTY_READDELAY + label: Read Delay + description: Forced delay between each request in MilliSeconds. + schema: + type: int + default: 10 + - variable: SSHWIFTY_WRITEDELAY + label: Write Delay + description: Forced delay between each write in MilliSeconds. + schema: + type: int + default: 10 + - variable: SSHWIFTY_ONLYALLOWPRESETREMOTES + label: Only Allow Preset Remotes + description: Allow the Preset Remotes only, and refuse to connect to any other remote host. + schema: + type: boolean + default: false + +# Include{containerBasic} +# Include{containerAdvanced} + +# Include{containerConfig} +# Include{serviceRoot} +# Include{serviceMain} +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - 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: 8182 + required: true +# Include{serviceExpertRoot} + default: false +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# Include{ingressList} +# Include{securityContextRoot} + + - 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 +# Include{securityContextContainer} +# Include{securityContextAdvanced} +# Include{securityContextPod} + - variable: fsGroup + label: "fsGroup" + description: "The group that should own ALL storage." + schema: + type: int + default: 568 + +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{netshoot} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/sshwifty/templates/NOTES.txt b/charts/incubator/sshwifty/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/sshwifty/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/sshwifty/templates/common.yaml b/charts/incubator/sshwifty/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/sshwifty/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/sshwifty/values.yaml b/charts/incubator/sshwifty/values.yaml new file mode 100644 index 00000000000..f7fdfb43853 --- /dev/null +++ b/charts/incubator/sshwifty/values.yaml @@ -0,0 +1,56 @@ +image: + repository: tccr.io/truecharts/sshwifty + pullPolicy: IfNotPresent + tag: latest@sha256:3f4f3c44825a1bf3b1320194077b9e1fda44b5ad30f9070c4db2a638512bbf10 + +securityContext: + container: + readOnlyRootFilesystem: false + runAsNonRoot: false + runAsUser: 0 + runAsGroup: 0 + +workload: + main: + podSpec: + containers: + main: + probes: + liveness: + path: "/" + readiness: + path: "/" + startup: + path: "/" + env: + # empty to accept request from all hosts + SSHWIFTY_HOSTNAME: "" + # web access password + SSHWIFTY_SHAREDKEY: "" + DialTimeout: 10 + # SSHWIFTY_SOCKS5: "" When set, Sshwifty backend will try to connect remote through the given proxy + # SSHWIFTY_SOCKS5_USER + # SSHWIFTY_SOCKS5_PASSWORD + SSHWIFTY_LISTENPORT: "{{ .Values.service.main.ports.main.port }}" + SSHWIFTY_LISTENINTERFACE: "0.0.0.0" + SSHWIFTY_INITIALTIMEOUT: 3 + SSHWIFTY_READTIMEOUT: 60 + SSHWIFTY_WRITETIMEOUT: 60 + SSHWIFTY_HEARTBEATTIMEOUT: 20 + SSHWIFTY_READDELAY: 10 + SSHWIFTY_WRITEELAY: 10 + # SSHWIFTY_TLSCERTIFICATEFILE: "" + # SSHWIFTY_TLSCERTIFICATEKEYFILE: "" + # SSHWIFTY_PRESETS: [] json obj array https://github.com/nirui/sshwifty#configuration-file | preset section. + SSHWIFTY_ONLYALLOWPRESETREMOTES: false + +service: + main: + ports: + main: + protocol: http + port: 8182 + +portal: + open: + enabled: true