UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit bb3e1272 authored by runyontr's avatar runyontr Committed by Micah Nagel
Browse files

Update flux pod spec for best practices.

parent 3c585d01
No related branches found
No related tags found
No related merge requests found
......@@ -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