Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions templates/extra-objects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ range .Values.extraObjects }}
---
{{ tpl . $ }}
{{ end }}
6 changes: 6 additions & 0 deletions values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@
"default": "IfNotPresent",
"title": "when kubelet should pull specified image"
}
},
"extraObjects": {
"type": "array",
"title": "extra kubernetes objects to deploy with the release",
"default": null,
"items": { "type": "string" }
}
}
}
Expand Down
41 changes: 38 additions & 3 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ server:
broadcastPgsql: true
uvicornWorkers: 4
replicas: 1
extraEnv: {
# "CUSTOM_ENV_VAR": "VALUE"
}
extraEnv: {}
# "CUSTOM_ENV_VAR": "VALUE"
# Additional secrets to mount as environment on the server
secrets:
[]
# - my-secret-server-data

client:
port: 7000
Expand All @@ -50,3 +53,35 @@ client:
# If you need to specify a custom hostname for the opal-sever, configure the serverUrl property
# serverUrl: http://custom-hostname-for-opal:opal-port
extraEnv: {}
# Additional secrets to mount as environment on the client
secrets:
[]
# - my-secret-client-data

# Additional resources to deploy in this release
# Each element as a string and supports templates
extraObjects:
[]
# - |-
# apiVersion: v1
# kind: Secret
# metadata:
# name: my-secret-server-data
# labels:
# {{- include "opal.serverLabels" . | nindent 4}}
# type: Opaque
# data:
# OPAL_AUTH_PRIVATE_KEY_PASSPHRASE: "passphrase"
# OPAL_AUTH_PUBLIC_KEY: "pubkey"
# OPAL_AUTH_PRIVATE_KEY: "privkey"
# OPAL_BROADCAST_URI: "user:pass@host:port/db"
# - |-
# apiVersion: v1
# kind: Secret
# metadata:
# name: my-secret-client-data
# labels:
# {{- include "opal.clientLabels" . | nindent 4 }}
# type: Opaque
# data:
# OPAL_CLIENT_TOKEN: "client-token"