Skip to content

juouyang/hysteria2-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

server

docker-compose up

kubectl create secret generic hysteria-config -n hysteria \
  --from-file=server/config.yaml \
  -o yaml --dry-run=client > manifests/k8s/hysteria-config-secret.yaml

kubectl create secret tls hysteria-tls -n hysteria \
  --cert=tls/tls.crt \
  --key=tls/tls.key \
  -o yaml --dry-run=client > manifests/k8s/hysteria-tls-secret.yaml

Sealed secret (for GitOps)

kubectl create secret generic hysteria-config -n hysteria \
  --from-file=server/config.yaml \
  -o yaml --dry-run=client | kubeseal -o yaml > manifests/k8s/sealed-config-secret.yaml

kubectl create secret tls hysteria-tls -n hysteria \
  --cert=tls/tls.crt \
  --key=tls/tls.key \
  -o yaml --dry-run=client | kubeseal -o yaml > manifests/k8s/sealed-tls-secret.yaml

kubectl get secret apps-k8s-juouyang-com-tls -n nginx-ingress -o yaml \
  | sed 's/namespace: nginx-ingress/namespace: hysteria/' \
  | kubectl apply -f -

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published