Commit 9eb0174f authored by Giuseppe Tudisco's avatar Giuseppe Tudisco
Browse files

argo: install soda

parent 18aeda5e
Loading
Loading
Loading
Loading

apps/soda/pv-soda.yaml

0 → 100644
+23 −0
Original line number Diff line number Diff line
---
apiVersion: v1
kind: PersistentVolume
metadata:
  annotations:
    pv.kubernetes.io/provisioned-by: nfs.csi.k8s.io
  name: pv-soda
spec:
  capacity:
    storage: 100Gi
  accessModes:
    - ReadWriteMany
  persistentVolumeReclaimPolicy: Retain
  storageClassName: nfs-csi
  mountOptions:
    - nfsvers=4.2
  csi:
    driver: nfs.csi.k8s.io
    volumeHandle: itsrc.novalocal/pv-soda
    volumeAttributes:
      server: itsrc.novalocal
      share: /storage/xrootd
+14 −0
Original line number Diff line number Diff line
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: soda-pvc
spec:
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 100Gi
  volumeName: pv-soda
  storageClassName: nfs-csi
+78 −0
Original line number Diff line number Diff line
image:
  repository: harbor.srcnet.skao.int/soda/visivo-vlkb-soda
  tag: 1.8.3
  pullPolicy: Always

extraEnv:
  - name: ACCESS_CONTEXT_ROOT
    value:

config:
  datasets: |-
    fits_path_surveys=/srv/soda/datasets
    fits_path_cutouts=/srv/soda/cutouts
    ivoid_authority=test.skao
    ivoid_resource_key=datasets/fits

# This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount:
  # Specifies whether a service account should be created
  create: false
  # Automatically mount a ServiceAccount's API credentials?
  automount: false
  # Annotations to add to the service account
  annotations: {}
  # The name of the service account to use.
  # If not set and create is true, a name is generated using the fullname template
  name: ""

# Security context for the pod.
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
podSecurityContext: {}
  # fsGroup: 2000

# Container security context.
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
securityContext: {}
  # capabilities:
  #   drop:
  #   - ALL
  # readOnlyRootFilesystem: true
  # runAsNonRoot: true
  # runAsUser: 1000

# Node labels for pod assignment
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
nodeSelector: {}

# Affinity settings
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
affinity: {}

# Toleration settings
# ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
tolerations: {}

ingress:
  enabled: false
  host:
  proxyBodySize: 5000m
  proxyBuffering: "off"
  proxyRequestBuffering: "off"

# If existingClaim is defined, existingClaimMountOptions will contain additional volumeMount options.
# If existingClaim is undefined/null, a soda-pvc will be created with the
# corresponding storageClass, size, and accessMode.
# For instance:
# persistence:
#   relativeSubPath: datasets # The subPath to mount the volume at (datasets or surveys)
#   existingClaim: soda-rse-pvc
#   existingClaimMountOptions:
#     subPath: "deterministic"
#     readOnly: true
persistence:
  relativeSubPath: "datasets"  # The subPath to mount the volume at (datasets or surveys)
  existingClaim: soda-pvc
  size: "100Gi"
  storageClass: nfs-csi
  accessMode: ReadWriteMany

argocd-apps/soda.yaml

0 → 100644
+36 −0
Original line number Diff line number Diff line
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: soda
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  sources:
    - repoURL: https://gitlab.com/api/v4/projects/61599309/packages/helm/stable
      chart: ska-src-soda
      targetRevision: 0.0.4
      helm:
        valueFiles:
          - $repo/apps/soda/values-soda.yaml
    - repoURL: https://www.ict.inaf.it/gitlab/itsrc/itsrc-services-cd.git
      path: apps/soda
      targetRevision: HEAD
      ref: repo
  destination:
    namespace: soda
    server: https://kubernetes.default.svc
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    retry:
      limit: 5
      backoff:
        duration: 10s
        maxDuration: 3m0s
        factor: 2
    syncOptions:
      - CreateNamespace=true