Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languageyaml
titleepik8s-beamline.yaml
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
languageshell
titleepik8s-beamline.yaml
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