https://github.com/kragniz/kube-onions
https://github.com/kragniz/kube-onions
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kragniz/kube-onions
- Owner: kragniz
- License: apache-2.0
- Created: 2018-04-16T23:21:04.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-13T21:43:52.000Z (about 7 years ago)
- Last Synced: 2025-01-17T16:14:24.910Z (5 months ago)
- Language: Go
- Size: 168 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
kube-onions
===========Sprinkle some onions on your kubernetes clusters.
Install
-------```
$ helm install chart/onion-controller/ --name onion-controller --namespace kube-system --wait
```Use
---Get your private key into a secret:
kubectl create secret generic bmy7nlgozpyn26tv --from-file=private_key
Create an onion service:
```yaml
apiVersion: onion.kragniz.eu/v1alpha1
kind: OnionService
metadata:
name: example-onion
spec:
selector:
app: httpd
ports:
- targetPort: 8080
publicPort: 80
privateKeySecret:
name: bmy7nlgozpyn26tv
key: private_key
```