Skip to content

Commit

Permalink
Merge pull request #16 from zainasir/schema
Browse files Browse the repository at this point in the history
add values schema
  • Loading branch information
zainasir authored Nov 8, 2024
2 parents 92589f0 + b397647 commit d098127
Show file tree
Hide file tree
Showing 5 changed files with 401 additions and 16 deletions.
2 changes: 1 addition & 1 deletion charts/cbioportal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.5
version: 0.1.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 1 addition & 2 deletions charts/cbioportal/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ metadata:
{{- toYaml .Values.labels | nindent 4 }}
{{- end }}
name: {{ .Values.name }}
selfLink: {{ tpl .Values.selfLink . }}
spec:
replicas: {{ .Values.replicas }}
selector:
Expand Down Expand Up @@ -87,7 +86,7 @@ spec:
terminationMessagePolicy: {{ .Values.terminationMessagePolicy }}
# run on eks-public-cbioportal node group
nodeSelector:
{{ required ".Values.nodeSelector.key is required!" .Values.nodeSelector.key }}: {{ required ".Values.nodeSelector.value is required!" .Values.nodeSelector.value }}
{{ required ".Values.nodeSelector.label is required!" .Values.nodeSelector.value }}: {{ required ".Values.nodeSelector.value is required!" .Values.nodeSelector.value }}
{{- if .Values.podTolerations }}
tolerations:
{{- toYaml .Values.podTolerations | nindent 8 }}
Expand Down
1 change: 0 additions & 1 deletion charts/cbioportal/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
run: {{ .Values.name }}
# WARNING: when making a copy of this config file make sure to change the service name to avoid changing the production service
name: {{ .Values.serviceName }}
selfLink: {{ tpl .Values.serviceSelfLink . }}
spec:
{{- if .Values.servicePorts }}
ports:
Expand Down
Loading

0 comments on commit d098127

Please sign in to comment.