Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Dockerfile to have the proper permissions in directories #4967

Merged
merged 28 commits into from
Jun 7, 2024
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3c5c3f4
Fix Dockerfile to have the proper permissions in directories
amartinezfayo Mar 11, 2024
6a53fdb
Use user 1000 instead of 1001 in integration tests
amartinezfayo Mar 12, 2024
68be7e3
Have WORKDIR after COPY
amartinezfayo Mar 13, 2024
b8b7df0
Have WORKDIR after COPY
amartinezfayo Mar 13, 2024
d75e62a
Fix permission in generated key file for tests
amartinezfayo Mar 13, 2024
061d418
Fix permission in shared folders for agent socket
amartinezfayo Mar 13, 2024
92c9dcf
Prepare common directories used by tests, using proper permissions
amartinezfayo Mar 14, 2024
3b9cedc
Revert changes of uid
amartinezfayo Mar 14, 2024
2508f01
Revert changes of uid
amartinezfayo Mar 14, 2024
33d83d8
Use uid 1000 instead of 0
amartinezfayo Mar 14, 2024
d605288
Dockerfile changes
amartinezfayo Mar 14, 2024
ba113fe
Avoid mounting volumes that are not needed
amartinezfayo Mar 14, 2024
3724d67
Use uid 1000 instead of 1001 in svidstore integration test
amartinezfayo Mar 14, 2024
6ba64d0
Update permissions in shared directores for nested rotation integrati…
amartinezfayo Mar 14, 2024
3fd06ed
Fix root-agent Docker compose definition in the nested rotation inte…
amartinezfayo Mar 14, 2024
62b12d4
Fix k8s integration test
amartinezfayo Mar 14, 2024
1038bcc
Fix Delegated Identity API integration test
amartinezfayo Mar 14, 2024
7745e96
Fix node attestation integration test
amartinezfayo Mar 14, 2024
040b985
Fix Ghostunnel-Federation integration test
amartinezfayo Mar 14, 2024
6571b6a
Fix envoy-sds-v3 integration test
amartinezfayo Mar 14, 2024
f3e1e71
Fix oidc-discovery-provider integration test
amartinezfayo Mar 14, 2024
d112fcb
Fix envoy-sds-v3-spiffe-auth integration test
amartinezfayo Mar 14, 2024
12b4ef6
Update Dockerfile
amartinezfayo Mar 15, 2024
914cc93
Update Dockerfile
amartinezfayo Mar 15, 2024
8cf4578
Do not run as root when not needed. Remove WORKDIR in Dockerfile
amartinezfayo Mar 18, 2024
1b94174
Fix integration tests
amartinezfayo Mar 18, 2024
8dd99c7
Add comment about securityContext needed for hostPath volume
amartinezfayo May 31, 2024
8f388e6
Merge branch 'main' into dockerfile-fix-usergroup
azdagron Jun 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix permission in generated key file for tests
Signed-off-by: Agustín Martínez Fayó <amartinezfayo@gmail.com>
  • Loading branch information
amartinezfayo committed Mar 13, 2024
commit d75e62a033e81db4ccc5d39986f90442adf30798
2 changes: 1 addition & 1 deletion test/integration/setup/x509pop/gencerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func writeKey(path string, key crypto.Signer) {
Type: "PRIVATE KEY",
Bytes: keyBytes,
})
writeFile(path, pemBytes, 0o600)
writeFile(path, pemBytes, 0o644) // This key is used only for testing purposes.
}

func writeCerts(path string, certs ...*x509.Certificate) {
Expand Down
Loading