-
Notifications
You must be signed in to change notification settings - Fork 30
/
values.yaml
147 lines (120 loc) · 5.01 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
kubernetesClusterDomain: cluster.local
# Tell Kubernetes to spin up multiple instances. Defaults to 1.
replicaCount: 1
# It's best to keep these set as such, unless you're willing to change these in several places.
skaha:
namespace: skaha-system
# Skaha web service deployment
deployment:
hostname: example.org
cavern:
image: images.opencadc.org/platform/cavern:0.7.14
imagePullPolicy: Always
# How cavern identifies itself.
resourceID: "ivo://example.org/cavern"
# Set the Registry URL pointing to the desired registry (https:// URL)
# registryURL: https://example.org/reg
# This applies to Cavern itself. Meaning, this Pod will be scheduled as described
# by the nodeAffinity clause.
# See https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
# nodeAffinity: {}
# The Resource ID of the Service that contains the Posix Mapping information
# posixMapperResourceID: "ivo://example.org/posix-mapper"
# URI or URL of the OIDC (IAM) server. Used to validate incoming tokens. Required.
# oidcURI: https://ska-iam.stfc.ac.uk/
# ID (URI) of the GMS Service. Required
# gmsID: ivo://skao.int/gms
# Array of groups allowed to set the logging level. If none set, then nobody can change the log level.
# loggingGroups: []
# Simple Class name of the QuotaPlugin to use. This is used to request quota and folder size information
# from the underlying storage system. Optional, defaults to NoQuotaPlugin.
#
# - For CephFS deployments: CephFSQuotaPlugin
# - Default: NoQuotaPlugin
#
# quotaPlugin: {NoQuotaPlugin | CephFSQuotaPlug}
# filesystem:
# persistent data directory in container
# dataDir: "/data"
# RELATIVE path to the node/file content that could be mounted in other containers
# This will be used in a `dataDir`/`subPath` manner to remove shared data from the root folder.
# subPath: "cavern"
# The adminUsername is required to be set whomever has admin access over the
# filesystem.dataDir above.
# rootOwner:
# adminUsername: "root"
# username: "root"
# uid: 1000
# gid: 1000
# (optional) base directory exposed for sshfs mounts
# sshfs:
# serverBase: {server}[:{port}]:{path}
# The IdentityManager class handling authentication. This should generally be left alone.
identityManagerClass: org.opencadc.auth.StandardIdentityManager
# For the UWS PostgreSQL database.
uws:
db:
install: true # Whether to deploy a local PostgreSQL database. Set to false to use your own.
runUID: 999 # Postgres User default in the postgres:15 image if install: true
# url: "jdbc:postgresql://<host>:<port>/<database>" # if install: false, then set this to where it should point to
database: "uws" # if install: true, otherwise it's ignored
username: "uwsuser"
password: "uwspwd"
schema: "uws"
maxActive: 2
# Optional rename of the application from the default "cavern".
applicationName: "cavern"
# The endpoint to serve this from. Defaults to /cavern. If the applicationName is changed, then this should match.
# Don't forget to update your registry entries!
endpoint: "/cavern"
# Optionally set the DEBUG port.
# extraEnv:
# - name: CATALINA_OPTS
# value: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5555"
# - name: JAVA_OPTS
# value: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5555"
# Optionally mount a custom CA certificate
# extraVolumeMounts:
# - mountPath: "/config/cacerts"
# name: cacert-volume
# Create the CA certificate volume to be mounted in extraVolumeMounts
# extraVolumes:
# - name: cacert-volume
# secret:
# defaultMode: 420
# secretName: skaha-cacert-secret
# Resources provided to the Skaha service.
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "1Gi"
cpu: "500m"
# Specify extra hostnames that will be added to the Pod's /etc/hosts file. Note that this is in the
# deployment object, not the skaha one.
# extraHosts:
# - ip: 127.3.34.5
# hostname: myhost.example.org
# extraHosts: []
secrets:
# Uncomment to enable local or self-signed CA certificates for your domain to be trusted.
# cavern-cacert-secret:
# ca.crt: <base64 encoded CA crt>
# Exposed extra ports. Uncomment the java-debug port to expose and debug issues.
# service:
# cavern:
# extraPorts:
# - port: 5555
# protocol: TCP
# name: java-debug
# Set these appropriately to match your Persistent Volume Claim labels.
storage:
service:
spec:
# YAML for service mounted storage.
# Example is the persistentVolumeClaim below. Do not uncomment this
# or Helm will use it as the default, even if a different spec
# is specified.
# persistentVolumeClaim:
# claimName: skaha-pvc