-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: run gitlab init containers as privileged for copying CA trust (#…
…130) * trying non-root user again * removing webservice from path * keys * morrrr webservice * adding policy exemption for gitlab certificates container -- removing legacy workaround * alllll the file permissions * sudo make me a file * trying a more specific level * sudo for days * adjusting the exemption * nuclear option * less sudo * removing duplicates * remove unused exemptions
- Loading branch information
1 parent
011db86
commit 5b4031e
Showing
6 changed files
with
45 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/additional-manifests/pepr-policy-exemptions/gitlab-exemptions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: uds.dev/v1alpha1 | ||
kind: Exemption | ||
metadata: | ||
name: gitlab-certificates | ||
namespace: uds-policy-exemptions | ||
spec: | ||
exemptions: | ||
- policies: | ||
- DisallowPrivileged | ||
- RequireNonRootUser | ||
matcher: | ||
namespace: gitlab | ||
name: ".*" | ||
title: "gitlab exemptions" | ||
description: "Gitlab's certificates container needs write access to the following paths in order to load custom CA certificates: | ||
- `/usr/share/pki/ca-trust-source/anchors/` | ||
- `/etc/pki/ca-trust/extracted/openssl/` | ||
- `/etc/pki/ca-trust/extracted/java/` | ||
- `/etc/pki/ca-trust/extracted/edk2/`" |
17 changes: 0 additions & 17 deletions
17
packages/additional-manifests/pepr-policy-exemptions/tmp-csi-exemption/zarf.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters