Skip to content

Commit

Permalink
update arrow-flight-module helm chart (#106)
Browse files Browse the repository at this point in the history
Signed-off-by: Doron Chen <[email protected]>
  • Loading branch information
cdoron authored Oct 25, 2021
1 parent 3e2141c commit e9ff286
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 24 deletions.
8 changes: 4 additions & 4 deletions helm/afm/files/conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ data:
{{- $redactColumns := list -}}
{{- $removeColumns := list -}}
{{- range .transformations -}}
{{- if eq .action.name "RedactAction" -}}
{{- $redactColumns = .action.RedactAction.columns -}}
{{- if eq .name "RedactAction" -}}
{{- $redactColumns = .RedactAction.columns -}}
{{- end -}}
{{- if eq .action.name "RemoveAction" -}}
{{- $removeColumns = .action.RemoveAction.columns -}}
{{- if eq .name "RemoveAction" -}}
{{- $removeColumns = .RemoveAction.columns -}}
{{- end -}}
{{- end -}}
{{- if $redactColumns }}
Expand Down
27 changes: 15 additions & 12 deletions helm/afm/values.sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ read:
credentialLocation: htttp://test/test
format: parquet
transformations:
- id: "RedactAction"
level: 2 # column
args:
column_name: col1
- id: "RemoveAction"
level: 2 # column
args:
column_name: col2
- name: "RedactAction"
RedactAction:
columns:
- col1
- col2
- name: "RemoveAction"
RemoveAction:
columns:
- col1
- col2
- assetID: "test2"
source:
connection:
Expand All @@ -36,7 +38,8 @@ read:
credentialLocation: htttp://test/test
format: parquet
transformations:
- id: "RedactAction"
level: 2 # column
args:
column_name: col1
- name: "RedactAction"
RedactAction:
columns:
- col1
- col2
12 changes: 4 additions & 8 deletions module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ spec:
protocol: s3
dataformat: csv
actions:
- id: RedactAction
level: 2 # column
- id: RemoveAction
level: 2 # column
- name: RedactAction
- name: RemoveAction
- capability: write
scope: workload
api:
Expand All @@ -45,7 +43,5 @@ spec:
protocol: s3
dataformat: parquet
actions:
- id: RedactAction
level: 2 # column
- id: RemoveAction
level: 2 # column
- name: RedactAction
- name: RemoveAction

0 comments on commit e9ff286

Please sign in to comment.