Skip to content
Snippets Groups Projects

policy

Version: 1.0.1 AppVersion: v1.0.1-rc

Deployment

From main branch

When changes to helm or the app are made and deployment is needed, consult the following steps:

  1. Edit Chart.yaml with the new chart version (example: 1.4.3) and app version it's intended to use (example: v1.4.3).
  2. Create a new tag with the intended app version (v1.4.3)
  3. Wait for pipelines to finish
  4. Go to infrastructure/k8s-deployment/ssi/tsa/ and update the app helm_env.sh to match the chart version you want to deploy
  5. Trigger deployment pipeline for the desired cluster in infrastructure/k8s-deployment/ssi/tsa/

From other branch

  • Work in progress

Values

Key Type Default Description
addresses.cache string "http://cache:8080"
addresses.didResolver string "http://didresolver:8080"
addresses.ocm string "https://gaiax.vereign.com/ocm"
addresses.signer string "http://signer:8080"
addresses.task string "http://task:8080"
autoscaling.enabled bool false Enable autoscaling
autoscaling.maxReplicas int 3 Maximum replicas
autoscaling.minReplicas int 1 Minimum replicas
autoscaling.targetCPUUtilizationPercentage int 70 CPU target for autoscaling trigger
autoscaling.targetMemoryUtilizationPercentage int 70 Memory target for autoscaling trigger
image.name string "gaiax/policy" Image name
image.pullPolicy string "IfNotPresent" Image pull policy
image.pullSecrets string "deployment-key-light" Image pull secret when internal image is used
image.repository string "eu.gcr.io/vrgn-infra-prj"
image.sha string "" Image sha, usually generated by the CI Uses image.tag if empty
image.tag string "" Image tag Uses .Chart.AppVersion if empty
ingress.annotations."cert-manager.io/cluster-issuer" string "letsencrypt-production-http"
ingress.annotations."kubernetes.io/ingress.class" string "nginx"
ingress.annotations."kubernetes.io/ingress.global-static-ip-name" string "dev-light-public"
ingress.annotations."nginx.ingress.kubernetes.io/rewrite-target" string "/$2"
ingress.enabled bool true
ingress.frontendDomain string "gaiax.vereign.com"
ingress.frontendTlsSecretName string "cert-manager-tls"
ingress.tlsEnabled bool true
log.encoding string "json"
log.level string "debug"
metrics.enabled bool true Enable prometheus metrics
metrics.port int 2112 Port for prometheus metrics
mongo.addr string "mongodb://mongodb-mongodb-replicaset.infra:27017/policy?replicaSet=rs0&authSource=admin"
mongo.collection string "policies"
mongo.dbname string "policy"
mongo.pass string ""
mongo.user string ""
name string "policy" Application name
nameOverride string "" Ovverwrites application name
podAnnotations object {}
policy.http.host string ""
policy.http.port int 8080
policy.http.timeout.idle string "120s"
policy.http.timeout.read string "10s"
policy.http.timeout.write string "10s"
replicaCount int 1 Default number of instances to start
resources.limits.cpu string "150m"
resources.limits.memory string "128Mi"
resources.requests.cpu string "25m"
resources.requests.memory string "64Mi"
security.runAsGid int 0 Group used by the apps
security.runAsNonRoot bool false by default, apps run as non-root
security.runAsUid int 0 User used by the apps
service.port int 8080

Autogenerated from chart metadata using helm-docs v1.10.0