Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
Putting priority behind v1alpha1 aggregation
Browse files Browse the repository at this point in the history
  • Loading branch information
arschles committed Jul 6, 2017
1 parent 65c9dad commit 4764b52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/catalog/templates/apiregistration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ spec:
namespace: {{ .Release.Namespace }}
name: {{ template "fullname" . }}-apiserver
caBundle: {{ (.Files.Get .Values.apiserver.tls.caFileName) | b64enc }}
{{ if .Capabilities.APIVersions.Has "apiregistration.k8s.io/v1alpha1" -}}
priority: 100
{{ if .Capabilities.APIVersions.Has "apiregistration.k8s.io/v1beta1" -}}
{{ else if .Capabilities.APIVersions.Has "apiregistration.k8s.io/v1beta1" -}}
groupPriorityMinimum: 10000
versionPriority: 20
{{- end }}
Expand Down

0 comments on commit 4764b52

Please sign in to comment.