Update shadowsocks

This commit is contained in:
Nikolai Rodionov 2024-05-19 22:49:36 +02:00
parent c4d5115711
commit 4c68a04a4b
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
7 changed files with 86 additions and 15 deletions

View File

@ -1,6 +1,6 @@
dependencies: dependencies:
- name: softplayer-lib-testing - name: softplayer-lib-workload
repository: oci://git.badhouseplants.net/softplayer repository: oci://git.badhouseplants.net/softplayer
version: 0.1.0 version: 0.1.2
digest: sha256:7fe5a4899522fed731dd3b04d8397d23bb0cf920d7d56adf98911a268d0cbc7a digest: sha256:309dcf8ff3e54beea96a5f3397b4b0c121089c579202681a02dc372d75b2bb74
generated: "2024-05-05T18:56:25.892403+02:00" generated: "2024-05-19T22:30:05.772517+02:00"

View File

@ -1,17 +1,24 @@
---
apiVersion: v2 apiVersion: v2
name: shadowsocks-libev name: shadowsocks-libev
description: A Helm chart for shadowsocks-libev description: Bug-fix-only libev port of shadowsocks
type: application type: application
version: 0.1.1 version: 0.2.1
appVersion: "v3.3.5"
maintainers: maintainers:
- name: allanger - name: allanger
email: allanger@badhouseplants.net email: allanger@badhouseplants.net
url: https://badhouseplants.net url: https://badhouseplants.net
dependencies: dependencies:
- name: softplayer-lib-testing - name: softplayer-lib-workload
version: 0.1.0 version: 0.1.2
repository: oci://git.badhouseplants.net/softplayer repository: oci://git.badhouseplants.net/softplayer
sources:
- https://github.com/shadowsocks/shadowsocks-libev
home: https://github.com/shadowsocks/shadowsocks-libev
keywords:
- shadowsocks
- vpn
- proxy
annotations: annotations:
helm.badhouseplants.net/registry: "docker.io/shadowsocks/shadowsocks-libev" allowed_workload_kinds: "Deployment,StatefulSet,DaemonSet"
helm.badhouseplants.net/allowed_workload_kinds: "Deployment,StatefulSet"

View File

@ -0,0 +1,54 @@
# shadowsocks-libev
![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.3.5](https://img.shields.io/badge/AppVersion-v3.3.5-informational?style=flat-square)
Bug-fix-only libev port of shadowsocks
## Source Code
* <https://github.com/shadowsocks/shadowsocks-libev>
## Maintainers
| Name | Email | Url |
| ---- | ------ | --- |
| allanger | <allanger@badhouseplants.net> | <https://badhouseplants.net> |
## Requirements
| Repository | Name | Version |
|------------|------|---------|
| oci://git.badhouseplants.net/softplayer | softplayer-lib-workload | 0.1.0 |
## Installing the Chart
To install the chart with the release name `sql-exporter`:
```console
helm repo add sql_exporter https://burningalchemist.github.io/sql_exporter/
helm install sql_exporter/sql-exporter
```
## Chart Values
### General parameters
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| workload.kind | string | `"Deployment"` | A kind of workload to run |
| workload.containers | object | `{"shadowsocks":{"envFrom":["environemnt","secrets"],"image":{"pullPolicy":"Always","registry":"docker.io","repository":"shadowsocks/shadowsocks-libev","tag":null},"ports":["shadowsocks"],"securityContext":{"capabilities":{"add":["NET_ADMIN"]}}}}` | A list of containers to run within the workload |
| workload.containers.shadowsocks | object | `{"envFrom":["environemnt","secrets"],"image":{"pullPolicy":"Always","registry":"docker.io","repository":"shadowsocks/shadowsocks-libev","tag":null},"ports":["shadowsocks"],"securityContext":{"capabilities":{"add":["NET_ADMIN"]}}}` | Shadowsocks container description |
| workload.containers.shadowsocks.securityContext | object | `{"capabilities":{"add":["NET_ADMIN"]}}` | Required to allow ipv4 forwarding |
| env.environment.sensitive | bool | `false` | |
| env.environment.data.METHOD | string | `"chacha20-ietf-poly1305"` | |
| env.secrets.sensitive | bool | `true` | |
| env.secrets.data.PASSWORD | string | `"test12345"` | Provide a password that will be used to connect to shadowsocks |
| service.type | string | `"ClusterIP"` | |
| service.ports.shadowsocks.port | int | `8388` | |
| service.ports.shadowsocks.targetPort | int | `8388` | |
| service.ports.shadowsocks.protocol | string | `"TCP"` | |
## Dev Notes
After changing default `Values`, please execute `make gen_docs` to update the `README.md` file. Readme file is generated by the `helm-docs` tool, so make sure not to edit it manually.

View File

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

View File

@ -1,8 +1,17 @@
--- ---
workload: workload:
# -- A kind of workload to run
kind: Deployment kind: Deployment
# -- A list of containers to run within the workload
containers: containers:
# -- Shadowsocks container description
shadowsocks: shadowsocks:
image:
registry: docker.io
repository: shadowsocks/shadowsocks-libev
tag: v3.3.5
pullPolicy: Always
# -- Required to allow ipv4 forwarding
securityContext: securityContext:
capabilities: capabilities:
add: add:
@ -21,9 +30,7 @@ env:
secrets: secrets:
sensitive: true sensitive: true
data: data:
# --------------------------------------------------------------- # -- Provide a password that will be used to connect to shadowsocks
# Please, do not forget to replace this PASSWORD
# ---------------------------------------------------------------
PASSWORD: test12345 PASSWORD: test12345
service: service:
@ -33,3 +40,6 @@ service:
port: 8388 port: 8388
targetPort: 8388 targetPort: 8388
protocol: TCP protocol: TCP
global: {}
softplayer-lib-workload: {}