csi-driver-smb/cmd/smbplugin
Eduardo A. Paris Penas fc14f864f8 Add default krb5 cc path
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.
2023-05-11 22:17:45 +01:00
..
Dockerfile Add default krb5 cc path 2023-05-11 22:17:45 +01:00
Dockerfile.Windows chore: fix windows pipeline 2022-05-02 02:33:41 +00:00
README.md
main.go cleanup: remove metrics-address on driver daemonset on the node 2023-02-22 13:12:57 +00:00

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