This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
K8S_VERSION=v1.15.4 | |
check_version() | |
{ | |
version=$(echo $1 | sed -n 's/^[^0-9]*\([0-9.]\{1,\}\).*$/\1/p' ) | |
minimum=$2 | |
winner=$(echo -e "$version\n$minimum" | sed '/^$/d' | sort -t . -k1,1n -k2,2n -k3,3n | tail -1) | |
if [ "$winner" = "$version" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
poleradius = 9/2; //radius of pole | |
socketdepth = 15; //depth required for pole socket (note: not absolute due to ball join) | |
totalplugsize = 20; //exterior depth of pole corner | |
wallthick = 3; //thickness for walls | |
joinangle = 120; //angle to join two connectors at. | |
smoothness = 64; //number of faces for cylinder/sphere. | |
addfrictionfit = true; //set false if friction fit extra is not required. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Filter ssoFilter() { | |
OAuth2ClientAuthenticationProcessingFilter appidFilter = new OAuth2ClientAuthenticationProcessingFilter( | |
"/login/appid"); | |
OAuth2RestTemplate appidTemplate = new OAuth2RestTemplate(appid(), oauth2ClientContext); | |
appidFilter.setRestTemplate(appidTemplate); | |
DefaultTokenServices tokenServices = new DebugTokenServices(); | |
try { |