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

Adding API Gateway #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kameshsampath
Copy link

Moving API Gateway related changes from Original Repo to this new repo
Signed-off-by: Kamesh Sampath kamesh.sampath@hotmail.com

Signed-off-by: Kamesh Sampath <kamesh.sampath@hotmail.com>
@kameshsampath
Copy link
Author

@jcrossley3 - I still need to add the APIManagement job, wondering shall I add to the same template?

@jcrossley3
Copy link
Member

@kameshsampath sure that's fine

Copy link
Member

@jcrossley3 jcrossley3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this go in the ephemeral template, too?

metadata:
name: apigateway
data:
apimgmt-init: |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script isn't referenced by anything. Can we get rid of it? If not, let's remove the redundancy and factor the common stuff into a shared script

apigateway-init: |
# Dynamically determine API gateway host and other environment variables
export TOKEN="$(cat /var/run/secrets/kubernetes.io/serviceaccount/token)"
export NAMESPACE="$(cat /run/secrets/kubernetes.io/serviceaccount/namespace)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be /var/run right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants