Upon running master branch the following error was showing:
May 11 10:19:42 worker-02 cifs.upcall: get_existing_cc: default ccache is FILE:/tmp/krb5cc_0
Checked on the host and the configuration was appropriate, mounting a
cifs share did work approrpiately.
This error was showing specifically inside the smb container, so adding
the configuration for the default krb5 cc path as expected by this sci.
|
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| Dockerfile.Windows | ||
| README.md | ||
| main.go | ||
README.md
How to build cross-platform container images
export DOCKER_CLI_EXPERIMENTAL=enabled
acrName=
az acr login -n $acrName
acrRepo=$acrName.azurecr.io/public/k8s/csi/smb-csi
ver=v0.6.0
linux="linux-amd64"
make smb
az acr build -r $acrName -t $acrRepo:$ver-$linux -f cmd/smbplugin/Dockerfile --platform linux .
win="windows-1809-amd64"
make smb-windows
az acr build -r $acrName -t $acrRepo:$ver-$win -f cmd/smbplugin/Dockerfile.Windows --platform windows .
docker manifest create $acrRepo:$ver $acrRepo:$ver-$linux $acrRepo:$ver-$win
docker manifest inspect $acrRepo:$ver
docker manifest push $acrRepo:$ver --purge
docker manifest create $acrRepo:latest $acrRepo:$ver-$linux $acrRepo:$ver-$win
docker manifest inspect $acrRepo:latest
docker manifest push $acrRepo:latest --purge
# check
docker manifest inspect mcr.microsoft.com/k8s/csi/smb-csi:$ver
docker manifest inspect mcr.microsoft.com/k8s/csi/smb-csi:latest