Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/TEAMSchools/teamster into g…
Browse files Browse the repository at this point in the history
…radebook_audit_new_dm_test
  • Loading branch information
GabyRangelB committed Dec 12, 2024
2 parents 5cc6e97 + cd050c7 commit d4f0c1d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
10 changes: 6 additions & 4 deletions .k8s/dagster/values-override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ dagsterCloudAgent:
cloud.google.com/gke-spot: "true"
podSecurityContext:
runAsUser: 1001 # provided non-root user in image versions 0.14.0 and above
securityContext:
runAsNonRoot: true
# securityContext:
# runAsNonRoot: true
# allowPrivilegeEscalation: false

########################################################################################
# Workspace: Configuration for pods (launched by the agent) that run Dagster user code
Expand All @@ -57,8 +58,9 @@ workspace:
cpu: 500m
memory: 1.0Gi

securityContext:
runAsNonRoot: true
# securityContext:
# runAsNonRoot: true
# allowPrivilegeEscalation: false

# Raw k8s configuration for the Kubernetes Job and Pod created for each run. See:
# https://docs.dagster.io/deployment/guides/kubernetes/customizing-your-deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ select
sr.sam_account_name as tableau_username,
sr.reports_to_sam_account_name as tableau_manager_username,

lx.mdo_employee_number,

/* future feeds from other data sources*/
null as itr_response,
null as certification_renewal_status,
Expand All @@ -40,6 +38,10 @@ select
then 'New Jersey'
when sr.home_business_unit_name = 'KIPP Miami'
then 'Miami'
when
sr.home_work_location_name = 'Room 11'
and sr.job_title = 'Managing Director of Operations'
then 'Miami'
else 'CMO'
end as region_state,

Expand Down Expand Up @@ -103,9 +105,6 @@ from {{ ref("int_people__staff_roster") }} as sr
inner join
{{ ref("stg_people__location_crosswalk") }} as lc
on sr.home_work_location_name = lc.name
left join
{{ ref("int_people__leadership_crosswalk") }} as lx
on sr.home_work_location_name = lx.home_work_location_name
left join
{{ ref("stg_people__campus_crosswalk") }} as cc
on sr.home_work_location_name = cc.location_name
Expand Down Expand Up @@ -134,7 +133,6 @@ select
null as worker_termination_date,
null as tableau_username,
null as tableau_manager_username,
null as mdo_employee_number,
null as itr_response,
null as certification_renewal_status,
null as last_performance_management_score,
Expand Down Expand Up @@ -164,7 +162,6 @@ select
null as worker_termination_date,
null as tableau_username,
null as tableau_manager_username,
null as mdo_employee_number,
null as itr_response,
null as certification_renewal_status,
null as last_performance_management_score,
Expand Down Expand Up @@ -194,7 +191,6 @@ select
null as worker_termination_date,
null as tableau_username,
null as tableau_manager_username,
null as mdo_employee_number,
null as itr_response,
null as certification_renewal_status,
null as last_performance_management_score,
Expand Down Expand Up @@ -224,7 +220,6 @@ select
null as worker_termination_date,
null as tableau_username,
null as tableau_manager_username,
null as mdo_employee_number,
null as itr_response,
null as certification_renewal_status,
null as last_performance_management_score,
Expand Down

0 comments on commit d4f0c1d

Please sign in to comment.