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

WIP: update some values #155

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
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
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 @@ -521,7 +521,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 @@ -1363,7 +1363,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 @@ -41,7 +41,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
Loading