forked from openstad/openstad-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated variable settings and troubleshooting info
- Loading branch information
1 parent
a55f8f8
commit 9bf8736
Showing
4 changed files
with
67 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,15 @@ dependencies: | |
enabled: true | ||
``` | ||
When settings this up separately you can define another ClusterIssuer email address for better maintainability. | ||
```yaml | ||
clusterIssuer: | ||
enabled: false # Whether this issuer is created | ||
acme: # Email used for requesting the certificates | ||
email: [email protected] | ||
``` | ||
> Default setting on LetsEncrypt is the staging environment which installs the fake certificate. | ||
> Please use this wil setting up until you are satisfied with the result and then switch to the production environment. | ||
> Update thew Helm chart with this value adjustment. | ||
|
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,24 @@ | ||
# Troubleshooting | ||
|
||
In case of problems here are some ways to find out what happens and to access internal resources. | ||
The example below assume that the application has been installed in the openstad namespace. | ||
|
||
## Accessing MySQL | ||
|
||
In order to be able to quickly work on the database, adminer has been added to the standard Chart but this is not made available publically. | ||
You can make the Adminer interface locally available by using a port-forward construction: | ||
|
||
```bash | ||
kubectl port-forward -n openstad svc/openstad-adminer 8111:8080 | ||
``` | ||
|
||
After the command has started stating `Forwarding from 127.0.0.1:8111 -> 8080` you can open your browser to [http://localhost:8111/](http://localhost:8111/). | ||
A login is requested after that for which you can find the settings in the `openstad-db-credentials` secret. | ||
|
||
```bash | ||
echo 'Hostname : '$(kubectl get secret -n openstad openstad-db-credentials -o=jsonpath='{.data.hostname}' | base64 -d) | ||
echo 'Username : '$(kubectl get secret -n openstad openstad-db-credentials -o=jsonpath='{.data.username}' | base64 -d) | ||
echo 'Password : '$(kubectl get secret -n openstad openstad-db-credentials -o=jsonpath='{.data.password}' | base64 -d) | ||
``` | ||
|
||
After login you can enter the databases, view and edit the data when needed. |