Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(openoracle): Add missing options #8

Merged
merged 2 commits into from
Jul 11, 2024
Merged
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
2 changes: 1 addition & 1 deletion charts/openoracle/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 0.1.0
description: A Helm chart for Kubernetes
name: openoracle
type: application
version: 0.1.1
version: 0.1.2
maintainers:
- name: xom4ek
email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion charts/openoracle/templates/ingress.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ingressClassName: nginx
ingressClassName: {{ .Values.ingress.ingressClassName }}
rules:
- host: {{ .Values.ingress.host }}
http:
Expand Down
2 changes: 2 additions & 0 deletions charts/openoracle/templates/register.tpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.register.enabled }}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -31,3 +32,4 @@ spec:
configMap:
name: {{ include "openoracle.fullname" . }}-config
backoffLimit: 2
{{- end }}
6 changes: 6 additions & 0 deletions charts/openoracle/values.holesky.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
ingress:
annotations: {}
enabled: false
host: example.com
ingressClassName: "nginx"

node:
volumeMounts:
- name: bls-key
Expand Down
6 changes: 6 additions & 0 deletions charts/openoracle/values.mainnet.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
ingress:
annotations: {}
enabled: false
host: example.com
ingressClassName: "nginx"

node:
volumeMounts:
- name: bls-key
Expand Down
6 changes: 6 additions & 0 deletions charts/openoracle/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
},
"host": {
"type": "string"
},
"ingressClassName": {
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -159,6 +162,9 @@
},
"type": "array"
},
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
Expand Down
3 changes: 3 additions & 0 deletions charts/openoracle/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ service:
port: 9091
protocol: TCP
targetPort: 9091

ingress:
annotations: {}
enabled: false
host: example.com
ingressClassName: "nginx"

configs:
operator.yaml: |
Expand Down Expand Up @@ -53,6 +55,7 @@ configs:
register_operator_on_startup: true

register:
enabled: true
image:
repository: gcr.io/openoracle-de73b/operator
pullPolicy: Always
Expand Down
Loading