Skip to content

Commit

Permalink
Merge pull request gabibbo97#21 from cloudposse/default-apiversion+9
Browse files Browse the repository at this point in the history
Update keycloak-gatekeeper to 9.0.0, default to current apiVersion for Ingress
  • Loading branch information
gabibbo97 authored Mar 6, 2020
2 parents bf8f973 + f6c1e35 commit 1613d08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/keycloak-gatekeeper/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: keycloak-gatekeeper
version: 2.1.0
version: 2.2.0
description: Keycloak gatekeeper
type: application
home: https://www.keycloak.org
Expand All @@ -16,4 +16,4 @@ maintainers:
- name: gabibbo97
email: [email protected]
icon: https://raw.githubusercontent.com/keycloak/keycloak-misc/master/logo/keycloak_logo_600px.svg
appVersion: "8.0.1"
appVersion: "9.0.0"
2 changes: 1 addition & 1 deletion charts/keycloak-gatekeeper/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "keycloak-gatekeeper.fullname" . -}}
{{- $ingressPath := .Values.ingress.path -}}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1/Ingress" }}
{{- if or (.Capabilities.APIVersions.Has "networking.k8s.io/v1beta1/Ingress") (not (.Capabilities.APIVersions.Has "extensions/v1beta1/Ingress")) }}
apiVersion: networking.k8s.io/v1beta1
{{- else }}
apiVersion: extensions/v1beta1
Expand Down

0 comments on commit 1613d08

Please sign in to comment.