Skip to content

AKS Pod init container that connects to Azure using the POD Identity and save the information to a share storage

License

Notifications You must be signed in to change notification settings

AzBuilder/azb-connect-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

azb-connect-azure

Docker container that connects to Azure using the POD Identity or Azure Service Principal.

Build Docker Image

docker build -t azb-connect-azure .

Running Docker Image

These are the environment variables that the docker image suppor:

Name Comment
SP_USER Service Principal Application Id
SP_PASSWORD Service Principal Secret
SP_TENANT Service Principal Tenant
MSI Value should be "true" if you want to use the POD identity to connect to Azure

Examples

Using Pod Identity

docker run -e MSI=true azb-connect-azure

Using Service Principal

docker run -e SP_USER=XXXXX -e SP_PASSWORD=XXXXX -e SP_TENANT=XXXXX azb-connect-azure

The azure connection information is store inside /root/.azure

About

AKS Pod init container that connects to Azure using the POD Identity and save the information to a share storage

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published