-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add root workflow, handle user-input as k8s secret #124
Conversation
fae7ece
to
da744ff
Compare
After Damina's PR: #116 After adding 3rd level of escaping the initial template becomes to complicated: command: "install"
generateName: true
chart:
name: "jira-software"
repo: "https://helm.mox.sh"
output:
{% raw -%}
goTemplate:
version: {{ '{% raw -%}"{{ .Values.image.tag }}"' }} `{{'{'}}% endraw -%{{` '}' }}
host: {{ "'{{ template \"jira-software.fullname\" . }}'" }} # here is even harder as we already using both types of quote marks
{% endraw -%}
values:
postgresql:
enabled: false
databaseConnection:
host: "{{ host }}"
user: "{{ superuser.username }}"
password: "{{ superuser.password }}"
database: "{{ defaultDBName }}"
ingress:
enabled: true
hosts:
- host: {% raw %}{{ '"{{ host }}"' }}{% endraw %}
paths: ['/'] We need to add an Action which consumes N
|
da744ff
to
67480ee
Compare
…all, handle jira-install user input
c275b20
to
7240556
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well 👍 Few small comments.
Description
Changes proposed in this pull request:
Add proper support for Jira install input paramsAfter Damian's PR Add Content Creation guide #116 I had to revert that.Remove hard-coded password from Jira workflowwill be done as a part of: https://cshark.atlassian.net/browse/SV-231create-db
method in Jira manifestsTesting
kubectl -n neo4j port-forward svc/neo4j-neo4j 7687:7687 APP_JSONPUBLISHADDR=http://{ip} APP_LOGGER_DEV_MODE=true go run cmd/populator/main.go .
Navigate to https://gateway.voltron.local.
Copy graphql calls
CreateActionForPostgres
RunPostgresAction
CreateActionForJira
RunJiraAction
Both project should be installed.
Example workflow execution for Jira install:
As you can see, we have now
voltron-root
step, which containsinject-runner-context
andpopulate-user-input
.The real workflow starts as a part of
start-entrypoint
step with arguments frompopulate-user-input
step.Via
helm get values
you can check that password for standalone postgres-install is taken from the user input, but for jira-install it is generated.