Kubernetes: 1.14+
, # Add the repository
$ helm repo add reposilite https://helm.reposilite.com/
# Update local repository information
$ helm repo update
# Create the 'reposilite' namespace
$ kubectl create namespace reposilite
# Install the Helm chart into the namespace 'reposilite'
$ helm install reposilite reposilite/reposilite -n reposilite
# Save the default chart values to 'values.yaml'
$ helm show values reposilite/reposilite > values.yaml
# Modify the chart values ('values.yaml') using VI (or your preferred text editor)
$ vi values.yaml
# Create the 'reposilite' namespace
$ kubectl create namespace reposilite
# Install the Helm chart into the namespace 'reposilite', using the custom values
$ helm install reposilite reposilite/reposilite -n reposilite -f values.yaml
ingress
using
custom chart values, you may be unable to access the Reposilite frontend.apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: reposilite-ingress
namespace: reposilite
spec:
rules:
- host: repo.example.com # Replace the domain you wish to use.
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: reposilite
port:
name: http
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: reposilite-ingress
namespace: reposilite
spec:
entryPoints:
- web # Replace this with the entrypoint you wish to expose Reposilite on.
routes:
- match: Host(`repo.example.com`) # Replace the domain you wish to use.
kind: Rule
services:
- name: reposilite
port: http
kubectl
:# Get the pod name
$ kubectl get pods -n reposilite
NAME READY STATUS RESTARTS AGE
reposilite-75997659f4-mfszl 1/1 Running 0 18
# Attach to the pod
$ kubectl attach -i reposilite-75997659f4-mfszl -n reposilite
If you don't see a command prompt, try pressing enter.
token-generate admin m
10:26:27.423 INFO | Generated new access token for admin with 'm' permissions. Secret:
10:26:27.423 INFO | biK3dtcNLtm7klb/h7uGXFyUQxStfkSOUIo/LSZSX5nB/+D8ImyXj6LaJ9vZrDIZ
Did you find misleading or deprecated content? Maybe you just feel this section misses important elements?
Copyright © 2023 dzikoysk with ❤ panda-lang