UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 96caa920 authored by Micah Nagel's avatar Micah Nagel
Browse files

Merge branch 'flux-policies' into 'master'

Update flux pod spec for best practices.

See merge request platform-one/big-bang/bigbang!596
parents 36fc5289 bb3e1272
No related branches found
No related tags found
1 merge request!596Update flux pod spec for best practices.
Pipeline #343514 failed
......@@ -76,6 +76,7 @@ pre vars:
- .gitlab-ci/jobs/**/*
- scripts/**/*
- tests/**/*
- base/flux/*
.deploy_bigbang: &deploy_bigbang
- |
......
......@@ -27,6 +27,25 @@ patches:
name: whatever
spec:
template:
metadata:
annotations:
# Required by Kubernetes node autoscaler
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
spec:
imagePullSecrets:
- name: private-registry
terminationGracePeriodSeconds: 60
# Required by Pod Security Policy
securityContext:
runAsUser: 10000
fsGroup: 1337
containers:
- name: manager
# Required by Pod Security Policy
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop:
- ALL
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment