Init commit

This commit is contained in:
2024-05-05 18:58:35 +02:00
commit d19899c62f
9 changed files with 369 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# 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
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View File

@ -0,0 +1,6 @@
dependencies:
- name: softplayer-lib-testing
repository: oci://git.badhouseplants.net/softplayer
version: 0.1.0
digest: sha256:7fe5a4899522fed731dd3b04d8397d23bb0cf920d7d56adf98911a268d0cbc7a
generated: "2024-05-05T18:56:25.892403+02:00"

View File

@ -0,0 +1,17 @@
apiVersion: v2
name: shadowsocks-libev
description: A Helm chart for shadowsocks-libev
type: application
version: 0.1.0
appVersion: "3.3.5"
maintainers:
- name: allanger
email: allanger@badhouseplants.net
url: https://badhouseplants.net
dependencies:
- name: softplayer-lib-testing
version: 0.1.0
repository: oci://git.badhouseplants.net/softplayer
annotations:
helm.badhouseplants.net/registry: "registry.hub.docker.com/vaultwarden/server"
helm.badhouseplants.net/allowed_workload_kinds: "Deployment,StatefulSet"

View File

@ -0,0 +1,30 @@
# ---------------------------------------------------------------------
# Main config entries for the application
# ---------------------------------------------------------------------
---
encryption_method:
description: Choose an encryption method
path: env.environment.data.METHOD
values:
- rc4-md5
- aes-128-gcm
- aes-192-gcm
- aes-256-gcm
- aes-128-cfb
- aes-192-cfb
- aes-256-cfb
- aes-128-ctr
- aes-192-ctr
- aes-256-ctr
- camellia-128-cfb
- camellia-192-cfb
- camellia-256-cfb
- bf-cfb
- chacha20-ietf-poly1305
- xchacha20-ietf-poly1305
- salsa20
- chacha20
- chacha20-ietf
password:
description: Choose a password
path: env.secrets.data.PASSWORD

View File

@ -0,0 +1,3 @@
{{ include "lib.workload" . }}
{{ include "lib.service" . }}
{{ include "lib.env" . }}

View File

@ -0,0 +1,35 @@
---
workload:
kind: Deployment
containers:
shadowsocks:
securityContext:
capabilities:
add:
- NET_ADMIN
ports:
- shadowsocks
envFrom:
- environemnt
- secrets
env:
environment:
sensitive: false
data:
METHOD: chacha20-ietf-poly1305
secrets:
sensitive: true
data:
# ---------------------------------------------------------------
# Please, do not forget to replace this PASSWORD
# ---------------------------------------------------------------
PASSWORD: test12345
service:
type: ClusterIP
ports:
shadowsocks:
port: 8388
targetPort: 8388
protocol: TCP