Merge pull request #998 from fluxcd/oci-testdata-umask-fix

Fix OCIRepository testdata permissions
This commit is contained in:
Stefan Prodan 2023-01-18 10:12:46 +02:00 committed by GitHub
commit c2e605a5e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1637,6 +1637,8 @@ func TestOCIRepository_reconcileArtifact(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
g := NewWithT(t)
resetChmod(tt.targetPath, 0o755, 0o644)
obj := &sourcev1.OCIRepository{
ObjectMeta: metav1.ObjectMeta{
GenerateName: "reconcile-artifact-",