Skip to content

Commit

Permalink
update some values
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang committed Feb 29, 2024
1 parent 87a0726 commit a789b72
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
9 changes: 1 addition & 8 deletions helm/fence/templates/useryaml-job.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
kind: ConfigMap
apiVersion: v1
metadata:
name: useryaml
data:
useryaml: {{ .Values.USER_YAML | toYaml | nindent 4}}
---
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -37,7 +30,7 @@ spec:
subPath: fence-config.yaml
- name: "useryaml"
mountPath: "/var/www/fence/user.yaml"
subPath: useryaml
subPath: user.yaml
command: ["/bin/bash" ]
args:
- "-c"
Expand Down
10 changes: 10 additions & 0 deletions helm/fence/templates/useryaml.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
kind: ConfigMap
apiVersion: v1
metadata:
name: useryaml
data:
user.yaml: |
{{- with .Values.USER_YAML }}
{{- toYaml . | nindent 2 }}
{{ end }}
---
4 changes: 2 additions & 2 deletions helm/fence/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ projects:
# github.com:

# -- (string) USER YAML. Passed in as a multiline string.
USER_YAML: |
USER_YAML:
cloud_providers: {}
groups: {}
authz:
Expand Down Expand Up @@ -1318,7 +1318,7 @@ USER_YAML: |
users:
### BEGIN INTERNS SECTION ###
### END INTERNS SECTION ###
[email protected]:
[email protected]:
admin: true
policies:
- data_upload
Expand Down
2 changes: 1 addition & 1 deletion helm/gen3/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ global:
# -- (string) ARN of the reverse proxy certificate.
revproxyArn: arn:aws:acm:us-east-1:123456:certificate
# -- (string) URL of the data dictionary.
dictionaryUrl: https://s3.amazonaws.com/dictionary-artifacts/datadictionary/develop/schema.json
dictionaryUrl: http://s3.amazonaws.com/dictionary-artifacts/midrc_dictionary/1.2.7/schema.json
# -- (string) Portal application name.
portalApp: gitops
# -- (bool) Whether public datasets are enabled.
Expand Down

0 comments on commit a789b72

Please sign in to comment.