Skip to content

Commit

Permalink
Update Kubernetes and OpenShift versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stianst committed Mar 30, 2020
1 parent 9a6e66c commit ddb6a4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kubernetes-examples/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
spec:
containers:
- name: keycloak
image: quay.io/keycloak/keycloak:9.0.4-SNAPSHOT
image: quay.io/keycloak/keycloak:latest
env:
- name: KEYCLOAK_USER
value: "admin"
Expand Down
4 changes: 2 additions & 2 deletions openshift-examples/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ objects:
value: dns.DNS_PING
- name: JGROUPS_DISCOVERY_PROPERTIES
value: 'dns_query=${APPLICATION_NAME}.${NAMESPACE}.svc.cluster.local'
image: 'quay.io/keycloak/keycloak:latest'
image: quay.io/keycloak/keycloak:latest
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down Expand Up @@ -131,4 +131,4 @@ parameters:
allows the DNS_PING protocol to extract cluster members. This parameter
might be removed once https://issues.jboss.org/browse/JGRP-2292 is
implemented.
required: true
required: true
2 changes: 1 addition & 1 deletion set-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ LATEST_KEYCLOAK_VERSION=`curl -s "http://search.maven.org/solrsearch/select?q=g:
mvn versions:update-parent -Dversion.keycloak=$LATEST_KEYCLOAK_VERSION -DparentVersion=$NEW_VERSION -DgenerateBackupPoms=false -Pbump-version
mvn versions:set -Dversion.keycloak=$LATEST_KEYCLOAK_VERSION -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -DgroupId=org.keycloak* -DartifactId=* -Pbump-version


sed -i "s|keycloak/keycloak:.*|keycloak/keycloak:$NEW_VERSION|" kubernetes-examples/keycloak.yaml
sed -i "s|keycloak/keycloak:.*|keycloak/keycloak:$NEW_VERSION|" openshift-examples/keycloak.yaml

0 comments on commit ddb6a4c

Please sign in to comment.