-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1472 from minrk/helm-templates
support extraFiles for binderhub pod
- Loading branch information
Showing
12 changed files
with
193 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"""top-level pytest config | ||
options can only be defined here, | ||
not in binderhub/tests/conftest.py | ||
""" | ||
|
||
|
||
def pytest_addoption(parser): | ||
parser.addoption( | ||
"--helm", | ||
action="store_true", | ||
default=False, | ||
help="Run tests marked with pytest.mark.helm", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
testing/k8s-binder-k8s-hub/binderhub-chart-config-old.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# (DELETE ME) | ||
# this file should be removed immediately after merging PR #1472 | ||
|
||
service: | ||
type: NodePort | ||
nodePort: 30901 | ||
|
||
config: | ||
BinderHub: | ||
# Use the internal host name for Pod to Pod communication | ||
# We can't use `hub_url` here because that is set to localhost which | ||
# works on the host but not from within a Pod | ||
hub_url_local: http://proxy-public | ||
use_registry: false | ||
log_level: 10 | ||
cors_allow_origin: "*" | ||
|
||
ingress: | ||
# Enabled to test the creation/update of the k8s Ingress resource, but not | ||
# used actively in our CI system. | ||
enabled: true | ||
|
||
dind: | ||
# Not enabled to test the creation/update of the image-cleaner DaemonSet | ||
# resource because it also requires us to setup a container registry to test | ||
# against which we haven't. We currently only test this via | ||
# lint-and-validate-values.yaml that makes sure our rendered templates are | ||
# valid against a k8s api-server. | ||
enabled: false | ||
|
||
# NOTE: This is a mirror of the jupyterhub section in | ||
# jupyterhub-chart-config.yaml in testing/local-binder-k8s-hub, keep these | ||
# two files synced please. | ||
jupyterhub: | ||
debug: | ||
enabled: true | ||
|
||
hub: | ||
config: | ||
BinderSpawner: | ||
cors_allow_origin: "*" | ||
db: | ||
type: "sqlite-memory" | ||
|
||
proxy: | ||
service: | ||
type: NodePort | ||
nodePorts: | ||
http: 30902 | ||
|
||
singleuser: | ||
storage: | ||
type: none | ||
memory: | ||
guarantee: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters