me.snowdrop.cloud.fabric8.ProxyArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmp-istio-enricher Show documentation
Show all versions of fmp-istio-enricher Show documentation
The Enricher that wil be used with fabric8-maven-plugin to enrich resources with Istio resources
The newest version!
package me.snowdrop.cloud.fabric8;
public enum ProxyArgs {
RELEASE_0_2_12("0.2.12",
"proxy,sidecar," +
"-v,2," +
"--configPath,/etc/istio/proxy," +
"--binaryPath,/usr/local/bin/envoy," +
"--serviceCluster,%s," +
"--drainDuration,45s," +
"--parentShutdownDuration,1m0s," +
"--discoveryAddress,%s," +
"--discoveryRefreshDelay,1s," +
"--zipkinAddress,%s," +
"--connectTimeout,10s," +
"--statsdUdpAddress,%s," +
"--proxyAdminPort,15000"),
RELEASE_0_3_0("0.3.0", RELEASE_0_2_12.args + "," +
"--controlPlaneAuthPolicy,%s"),
RELEASE_0_4_0("0.4.0",RELEASE_0_3_0.args),
RELEASE_0_5_0("0.5.0",RELEASE_0_4_0.args),
RELEASE_0_6_0("0.6.0", RELEASE_0_5_0.args);
private final String version;
private final String args;
ProxyArgs(String version, String args) {
this.version = version;
this.args = args;
}
public String getArgs() {
return args;
}
public static String findByRelease(String release){
for(ProxyArgs v : values()){
if( v.version.equals(release)){
return v.args;
}
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy