UNCLASSIFIED - NO CUI

Gitlab Certificate Init Container Permission Denied

Bug

Description

Gitlab does not properly copy over the certificates in the certificates init container when updating to BB 2.13.1.

cp: cannot create regular file '/usr/share/pki/ca-trust-source/anchors/2-US_Department_of_Transportation_Agency_CA_G4.cer': Permission denied cp: cannot create regular file '/usr/share/pki/ca-trust-source/anchors/2-US_Department_of_Transportation_Agency_CA_G5.cer': Permission denied cp: cannot create regular file '/usr/share/pki/ca-trust-source/anchors/2-Veterans_Affairs_User_CA_B1': Permission denied cp: cannot create regular file '/usr/share/pki/ca-trust-source/anchors/2-Veterans_Affairs_User_CA_B1.cer': Permission denied cp: cannot create regular file '/usr/share/pki/ca-trust-source/anchors/cfssl_ca': Permission denied

BigBang Version

2.13.1

This can be retrieved multiple ways:


kubectl logs -n gitlab -c certificates anypod