Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Add additional config to hue.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
tumido committed Nov 3, 2020
1 parent 25daf1d commit 5278e9c
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 2 deletions.
95 changes: 95 additions & 0 deletions hue/hue/base/hue-ini-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@ stringData:
send_dbug_messages=false
http_500_debug_mode=false
[[django_admins]]
[[custom]]
[[ldap]]
[[[users]]]
[[[groups]]]
[[[ldap_servers]]]
[[vcs]]
[[database]]
engine=django.db.backends.mysql
host=hue-mysql.$(namespace).svc
Expand All @@ -28,13 +41,23 @@ stringData:
password=datacatalog
name=datacatalog
[[session]]
[[smtp]]
host=localhost
port=25
user=
password=
tls=no
[[kerberos]]
[[oauth]]
[[oidc]]
[[metrics]]
[notebook]
[[interpreters]]
[[[hive]]]
Expand Down Expand Up @@ -79,6 +102,78 @@ stringData:
auth_password=password
hive_conf_dir=/etc/hive/conf
[[ssl]]
[metastore]
enable_new_create_table=true
force_hs2_metadata=false
[impala]
[[ssl]]
[spark]
[oozie]
[filebrowser]
[pig]
[sqoop]
[proxy]
[hbase]
[search]
[libsolr]
[indexer]
[jobsub]
[jobbrowser]
[security]
[zookeeper]
[[clusters]]
[[[default]]]
[useradmin]
[[password_policy]]
[liboozie]
oozie_url=
[aws]
[[aws_accounts]]
[[[default]]]
access_key_id=
secret_access_key=
is_secure=$(s3_is_secure)
region=$(s3_region)
host=$(s3_endpoint)
calling_format=boto.s3.connection.OrdinaryCallingFormat
allow_environment_credentials=false
[libsentry]
[libzookeeper]
[librdbms]
[[databases]]
[libsaml]
[libopenid]
[liboauth]
[kafka]
[[kafka]]
[metadata]
[[optimizer]]
[[navigator]]
16 changes: 16 additions & 0 deletions hue/hue/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ resources:
- hue-route.yaml
- hue-service.yaml

namespace: x

commonLabels:
opendatahub.io/component: "true"
component.opendatahub.io/name: hue
Expand Down Expand Up @@ -49,6 +51,20 @@ vars:
name: hue-config
fieldref:
fieldpath: data.s3_endpoint
- name: s3_region
objref:
kind: ConfigMap
apiVersion: v1
name: hue-config
fieldref:
fieldpath: data.s3_region
- name: s3_is_secure
objref:
kind: ConfigMap
apiVersion: v1
name: hue-config
fieldref:
fieldpath: data.s3_is_secure

configurations:
- params.yaml
Expand Down
6 changes: 4 additions & 2 deletions hue/hue/base/params.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
storage_class=A
s3_endpoint=Y
storage_class=
s3_endpoint=
s3_region=
s3_is_secure=false

0 comments on commit 5278e9c

Please sign in to comment.