chore: move all incubator to dev
This commit is contained in:
@@ -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,3 @@
|
||||
---
|
||||
title: Changelog
|
||||
---
|
||||
@@ -0,0 +1,37 @@
|
||||
kubeVersion: ">=1.24.0-0"
|
||||
apiVersion: v2
|
||||
name: snowflake-proxy
|
||||
version: 1.0.13
|
||||
appVersion: 2.6.0
|
||||
description: Snowflake's Proxy component to help users in the censored regions.
|
||||
home: https://truecharts.org/charts/incubator/snowflake-proxy
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/snowflake-proxy.png
|
||||
deprecated: false
|
||||
sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/snowflake-proxy
|
||||
- https://hub.docker.com/r/thetorproject/snowflake-proxy
|
||||
- https://gitlab.torproject.org/tpo/anti-censorship/docker-snowflake-proxy
|
||||
maintainers:
|
||||
- name: TrueCharts
|
||||
email: info@truecharts.org
|
||||
url: https://truecharts.org
|
||||
keywords:
|
||||
- snowflake-proxy
|
||||
- proxy
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 17.2.21
|
||||
repository: oci://tccr.io/truecharts
|
||||
condition: ""
|
||||
alias: ""
|
||||
tags: []
|
||||
import-values: []
|
||||
annotations:
|
||||
max_scale_version: 23.10.2
|
||||
min_scale_version: 23.10.0
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/category: proxy
|
||||
truecharts.org/max_helm_version: "3.13"
|
||||
truecharts.org/min_helm_version: "3.12"
|
||||
truecharts.org/train: incubator
|
||||
type: application
|
||||
@@ -0,0 +1,28 @@
|
||||
---
|
||||
title: README
|
||||
---
|
||||
|
||||
## General Info
|
||||
|
||||
TrueCharts can be installed as both _normal_ Helm Charts or as Apps on TrueNAS SCALE.
|
||||
However only installations using the TrueNAS SCALE Apps system are supported.
|
||||
|
||||
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/incubator/snowflake-proxy)
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
|
||||
|
||||
## Support
|
||||
|
||||
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro).
|
||||
- See the [Website](https://truecharts.org)
|
||||
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
|
||||
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
|
||||
|
||||
---
|
||||
|
||||
## Sponsor TrueCharts
|
||||
|
||||
TrueCharts can only exist due to the incredible effort of our staff.
|
||||
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
|
||||
|
||||
_All Rights Reserved - The TrueCharts Project_
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
@@ -0,0 +1,137 @@
|
||||
# Include{groups}
|
||||
portals: {}
|
||||
questions:
|
||||
# Include{global}
|
||||
# Include{workload}
|
||||
# Include{workloadDeployment}
|
||||
# Include{replicas1}
|
||||
# Include{podSpec}
|
||||
# Include{containerMain}
|
||||
# Include{containerBasic}
|
||||
# Include{containerAdvanced}
|
||||
# Include{containerConfig}
|
||||
# Include{podOptions}
|
||||
- variable: snowflake
|
||||
group: App Configuration
|
||||
label: Snowflake Proxy Configuration
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: allow_non_tls_relay
|
||||
label: Allow Non TLS Relay
|
||||
description: Allow relay without tls encryption
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: allowed_relay_hostname_pattern
|
||||
label: Allow Relay Hostname pattern
|
||||
description: A pattern to specify allowed hostname pattern for relay URL.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: snowflake.torproject.net$
|
||||
- variable: broker
|
||||
label: Broker
|
||||
description: Broker URL
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: https://snowflake-broker.torproject.net/
|
||||
- variable: capacity
|
||||
label: Capacity
|
||||
description: Maximum concurrent clients (0 for unlimited)
|
||||
schema:
|
||||
type: int
|
||||
required: true
|
||||
default: 0
|
||||
- variable: ephemeral_ports_range
|
||||
label: Ephemeral Ports Range
|
||||
description: ICE UDP ephemeral ports range in format ("30000:60000")
|
||||
schema:
|
||||
type: string
|
||||
default: "59999:60000"
|
||||
- variable: keep_local_addresses
|
||||
label: Keep Local Addresses
|
||||
description: Keep local LAN address ICE candidates
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: nat_retest_interval
|
||||
label: NAT Retest Interval
|
||||
description: The time interval in second before NAT type is retested, 0s disables retest. Valid time units are s, m, h.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: 24h0m0s
|
||||
- variable: relay
|
||||
label: Relay
|
||||
description: Websocket Relay URL
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: wss://snowflake.bamsoftware.com/
|
||||
- variable: stun
|
||||
label: Stun
|
||||
description: STUN URL
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: stun:stun.stunprotocol.org:3478
|
||||
- variable: summary_interval
|
||||
label: Summary Interval
|
||||
description: The time interval to output summary, 0s disables summaries. Valid time units are s, m, h.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: 1h0m0s
|
||||
- variable: unsafe_logging
|
||||
label: Unsafe Logging
|
||||
description: Prevent logs from being scrubbed
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: verbose
|
||||
label: Verbose
|
||||
description: Increase log verbosity
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: log
|
||||
label: Log
|
||||
description: Log Filename
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
# Include{serviceExpertRoot}
|
||||
# Include{serviceList}
|
||||
# Include{persistenceList}
|
||||
# Include{securityContextRoot}
|
||||
- variable: runAsUser
|
||||
label: "runAsUser"
|
||||
description: "The UserID of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 1000
|
||||
- variable: runAsGroup
|
||||
label: "runAsGroup"
|
||||
description: "The groupID of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 1000
|
||||
# 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}
|
||||
@@ -0,0 +1,52 @@
|
||||
{{/* Define the configmap */}}
|
||||
{{- define "snowflake.args" -}}
|
||||
args:
|
||||
{{- with .Values.snowflake.ephemeral_ports_range }}
|
||||
- "-ephemeral-ports-range"
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.snowflake.allow_non_tls_relay }}
|
||||
- "-allow-non-tls-relay"
|
||||
{{- end }}
|
||||
{{- with .Values.allowed_relay_hostname_pattern }}
|
||||
- "-allowed-relay-hostname-pattern"
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.snowflake.broker }}
|
||||
- "-broker"
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.snowflake.capacity }}
|
||||
- "-capacity"
|
||||
- {{ int . | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.snowflake.keep_local_addresses }}
|
||||
- "-keep-local-addresses"
|
||||
{{- end }}
|
||||
{{- with .Values.snowflake.nat_retest_interval }}
|
||||
- "-nat-retest-interval"
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.snowflake.relay }}
|
||||
- "-relay"
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.snowflake.stun }}
|
||||
- "-stun"
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.snowflake.summary_interval }}
|
||||
- "-summary-interval"
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.snowflake.unsafe_logging }}
|
||||
- "-unsafe-logging"
|
||||
{{- end }}
|
||||
{{- with .Values.snowflake.verbose }}
|
||||
- "-verbose"
|
||||
{{- end }}
|
||||
{{- with .Values.snowflake.log }}
|
||||
- "-log"
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,9 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "tc.v1.common.loader.init" . }}
|
||||
|
||||
{{- $newArgs := (include "snowflake.args" . | fromYaml) }}
|
||||
{{- $args := concat ((get .Values.workload.main.podSpec.containers.main "args") | default list) $newArgs.args }}
|
||||
{{- $_ := set .Values.workload.main.podSpec.containers.main "args" $args -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "tc.v1.common.loader.apply" . }}
|
||||
@@ -0,0 +1,59 @@
|
||||
hostNetwork: true
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: thetorproject/snowflake-proxy
|
||||
tag: v2.6.0@sha256:96a1e45e7b9fcc2bb2c0680990f42508b67d5e4f163d3c688d9db63761375d32
|
||||
portal:
|
||||
open:
|
||||
enabled: false
|
||||
securityContext:
|
||||
container:
|
||||
runAsGroup: 1000
|
||||
runAsUser: 1000
|
||||
service:
|
||||
main:
|
||||
enabled: false
|
||||
ports:
|
||||
main:
|
||||
enabled: false
|
||||
snowflake:
|
||||
allow_non_tls_relay: false
|
||||
allowed_relay_hostname_pattern: snowflake.torproject.net$
|
||||
broker: https://snowflake-broker.torproject.net/
|
||||
capacity: 0
|
||||
ephemeral_ports_range: 59999:60000
|
||||
keep_local_addresses: false
|
||||
log: ""
|
||||
nat_retest_interval: 24h0m0s
|
||||
relay: wss://snowflake.bamsoftware.com/
|
||||
stun: stun:stun.stunprotocol.org:3478
|
||||
summary_interval: 1h0m0s
|
||||
unsafe_logging: false
|
||||
verbose: false
|
||||
workload:
|
||||
main:
|
||||
podSpec:
|
||||
containers:
|
||||
main:
|
||||
probes:
|
||||
liveness:
|
||||
custom: true
|
||||
spec:
|
||||
exec:
|
||||
command:
|
||||
- /bin/proxy
|
||||
- -version
|
||||
readiness:
|
||||
custom: true
|
||||
spec:
|
||||
exec:
|
||||
command:
|
||||
- /bin/proxy
|
||||
- -version
|
||||
startup:
|
||||
custom: true
|
||||
spec:
|
||||
exec:
|
||||
command:
|
||||
- /bin/proxy
|
||||
- -version
|
||||
Reference in New Issue
Block a user