Skip to content

Commit

Permalink
Remove Azure authenticator because it is deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Apr 25, 2024
1 parent fd530a9 commit 0e37378
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 103 deletions.
13 changes: 0 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,6 @@
<artifactId>bcpkix-jdk18on</artifactId>
<version>${bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>adal4j</artifactId>
<version>1.6.7</version>
<optional>true</optional>
</dependency>
<!-- override the version in adal4j which has a CVE -->
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>2.5.1</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-sts</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>adal4j</artifactId>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-sts</artifactId>
Expand Down
2 changes: 0 additions & 2 deletions util/src/main/java/io/kubernetes/client/util/KubeConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import com.google.gson.JsonParser;
import io.kubernetes.client.persister.ConfigPersister;
import io.kubernetes.client.util.authenticators.Authenticator;
import io.kubernetes.client.util.authenticators.AzureActiveDirectoryAuthenticator;
import io.kubernetes.client.util.authenticators.GCPAuthenticator;
import io.kubernetes.client.util.authenticators.OpenIDConnectAuthenticator;
import java.io.File;
Expand Down Expand Up @@ -79,7 +78,6 @@ public static void registerAuthenticator(Authenticator auth) {

static {
registerAuthenticator(new GCPAuthenticator());
registerAuthenticator(new AzureActiveDirectoryAuthenticator());
registerAuthenticator(new OpenIDConnectAuthenticator());
}

Expand Down

This file was deleted.

0 comments on commit 0e37378

Please sign in to comment.