...
Prepare a epiks8-beamline.yaml manifest replacing repoURL with the url of the EPIK8s beamline.
This is repo is the beamline EPIK8s helm chart for ELI test:
https://github.com/infn-epics/epik8s-rke2-test.git.
Look:
EPIK8s Beamline
| Code Block | ||||
|---|---|---|---|---|
| ||||
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: rke2-test-deploy-deploy
namespace: argocd
labels:
deploy: eli
spec:
project: default
source:
repoURL: 'https://github.com/infn-epics/epik8s-rke2-test.git'
path: deploy
targetRevision: main
helm:
values: |
namespace: da-test
domain: "da"
ingressClassName: "nginx"
destination:
server: 'https://kubernetes.default.svc'
namespace: eli
syncPolicy:
automated:
prune: true # Optional: Automatically remove resources not specified in Helm chart
selfHeal: true
syncOptions:
- CreateNamespace=true
- Prune=true |
...
EPIK8s secrets
is it possible that your system needs to log in machines to start process, or define token to access repositories.
| Code Block | ||||
|---|---|---|---|---|
| ||||
kubectl create secret generic epik8s-secret --from-file=git_token --from-file=id_rsa=id_rsa --from-file=id_rsa.pub=id_rsa.pub -n da-test |