feat(twingate-connector) add twingate-connector (#10095)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ 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?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ 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.

- [X] 🪞 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._
This commit is contained in:
Xstar97TheNoob 2023-07-03 16:25:43 -04:00 committed by GitHub
parent 59ceecf9a3
commit 378dc025ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 198 additions and 0 deletions

View File

@ -11,6 +11,7 @@ chart-dirs:
- charts/operators
excluded-charts:
- charts/dependency/subchart
- charts/incubator/twingate-connector
- charts/incubator/orbital-sync
- charts/incubator/plex-meta-manager
- charts/incubator/tauticord

View File

@ -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

View File

@ -0,0 +1 @@
# Changelog

View File

@ -0,0 +1,29 @@
apiVersion: v2
appVersion: "1.56.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.14.6
deprecated: false
description: Twingate is remote access for the modern world.
home: https://truecharts.org/charts/twingate-connector
icon: https://truecharts.org/img/hotlink-ok/chart-icons/twingate-connector.png
keywords:
- twingate-connector
- networking
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: twingate-connector
sources:
- https://github.com/truecharts/charts/tree/master/charts/twingate-connector
- https://www.twingate.com/docs/connector-deployment
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- network
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1 @@
# README

View File

@ -0,0 +1,16 @@
# Installation Notes
- Requires the following sysctl added to system settings -> advanced -> sysctl:
variable: **net.ipv4.ping_group_range**
value: **0 2147483647**
Setting this up may require a reboot.
Go to [twingate](https://www.twingate.com/) and create a network.
Set your tenant name to **TwinGate Network**.
Optionally set a custom DNS to TwinGate DNS.
Setup a connector and generate your **TwinGate Access Token** and **TwinGate Refresh Token**.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -0,0 +1,86 @@
# Include{groups}
portals: {}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: TWINGATE_NETWORK
label: "TwinGate Network"
description: "Name of your Twingate Network"
schema:
type: string
required: true
default: ""
- variable: TWINGATE_DNS
label: "TwinGate DNS"
description: "Custom DNS"
schema:
type: string
default: ""
- variable: TWINGATE_ACCESS_TOKEN
label: "TwinGate Access Token"
schema:
type: string
required: true
private: true
default: ""
- variable: TWINGATE_REFRESH_TOKEN
label: "TwinGate Refresh Token"
schema:
type: string
required: true
private: true
default: ""
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{podOptions}
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 568
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 568
# 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}

View File

@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}

View File

@ -0,0 +1,33 @@
image:
repository: tccr.io/truecharts/twingate-connector
pullPolicy: IfNotPresent
tag: v1.56.0@sha256:d329ef493caf335c7ff78d8f12323dd1c13fac965995caee39718fae2eb2829b
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
TWINGATE_NETWORK: ""
TWINGATE_ACCESS_TOKEN: ""
TWINGATE_REFRESH_TOKEN: ""
TWINGATE_DNS: "1.1.1.1"
service:
main:
enabled: false
ports:
main:
enabled: false
portal:
open:
enabled: false