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 pod security warnings #132

Merged
merged 6 commits into from
May 30, 2024
Merged
Changes from 1 commit
Commits
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
15 changes: 10 additions & 5 deletions helm_deploy/values-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ datahub-frontend:
- name: datahub-users
secret:
defaultMode: 0444
secretName: datahub-users-secret
secretName: datahub-users-secret
extraVolumeMounts:
- name: datahub-users
mountPath: /datahub-frontend/conf/user.props
Expand All @@ -51,17 +51,18 @@ datahub-frontend:
type: ClusterIP
serviceMonitor:
create: true
lifecycle:
{}
lifecycle: {}
resources:
limits:
memory: 1400Mi
requests:
cpu: 100m
memory: 512Mi
podSecurityContext:
allowPrivilegeEscalation: false
fsGroup: 101
securityContext:
allowPrivilegeEscalation: false
runAsUser: 100
# Set up ingress to expose react front-end
ingress:
Expand Down Expand Up @@ -98,11 +99,12 @@ acryl-datahub-actions:
podSecurityContext:
fsGroup: 103
securityContext:
allowPrivilegeEscalation: false
runAsUser: 102
image:
repository: acryldata/datahub-actions
tag: v0.0.15
# mount the k8s secret as a volume in the container, each key name is mounted as a
# mount the k8s secret as a volume in the container, each key name is mounted as a
# file on the mount path /etc/datahub/ingestion-secret-files
# ingestionSecretFiles:
# name: ${K8S_SECRET_NAME}
Expand Down Expand Up @@ -147,6 +149,7 @@ kafkaSetupJob:
podSecurityContext:
fsGroup: 101
securityContext:
allowPrivilegeEscalation: false
runAsUser: 1000
annotations:
helm.sh/hook: pre-install,pre-upgrade
Expand Down Expand Up @@ -174,6 +177,7 @@ postgresqlSetupJob:
podSecurityContext:
fsGroup: 101
securityContext:
allowPrivilegeEscalation: false
runAsUser: 1000
annotations:
helm.sh/hook: pre-install,pre-upgrade
Expand Down Expand Up @@ -205,6 +209,7 @@ datahubUpgrade:
podSecurityContext:
fsGroup: 101
securityContext:
allowPrivilegeEscalation: false
runAsUser: 100
podAnnotations: {}
extraSidecars: []
Expand Down Expand Up @@ -268,6 +273,7 @@ datahubSystemUpdate:
podSecurityContext:
fsGroup: 101
securityContext:
allowPrivilegeEscalation: false
runAsUser: 100
podAnnotations: {}
resources:
Expand Down Expand Up @@ -420,7 +426,6 @@ global:
name: rds-postgresql-instance-output
key: database_name


datahub:
version: v0.13.2
gms:
Expand Down