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

Default values for ingresses - update #110

Merged
merged 2 commits into from
Jul 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ Parameters related to PHPLdapAdmin
| `phpldapadmin.ingress` | Ingress of Phpldapadmin | `{}` |
| `phpldapadmin.env` | Environment variables for PhpldapAdmin| `{PHPLDAPADMIN_LDAP_CLIENT_TLS_REQCERT: "never"}` |

For more advance configuration see [README.md](./advanced_examples/README.md)
For more advance configuration see [README.md](./advanced_examples/README.md)
For all possible chart parameters see chart's [README.md](./charts/phpldapadmin/README.md)

### Self-service password configuration

Expand All @@ -108,7 +109,8 @@ Parameters related to Self-service password.
|`ltb-passwd.enabled`| Enable the deployment of Ltb-Passwd| `true` |
|`ltb-passwd.ingress`| Ingress of the Ltb-Passwd service | `{}` |

For more advance configuration see [README.md](./advanced_examples/README.md)
For more advance configuration see [README.md](./advanced_examples/README.md)
For all possible parameters see chart's [README.md](./charts/ltb-passwd/README.md)

### Kubernetes parameters

Expand Down Expand Up @@ -186,6 +188,8 @@ phpldapadmin:
ingress:
enabled: true
annotations: {}
# Assuming that ingress-nginx is used
ingressClassName: nginx
path: /
## Ingress Host
hosts:
Expand All @@ -212,6 +216,8 @@ ltb-passwd:
ingress:
enabled: true
annotations: {}
# Assuming that ingress-nginx is used
ingressClassName: nginx
host: "ssl-ldap2.local"

```
Expand Down
1 change: 1 addition & 0 deletions charts/ltb-passwd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Configuration is done within `values.yaml`:
| `service.type` | Service type | `ClusterIP` |
| `ingress.enabled` | Whether to generate ingress resources | `false` |
| `ingress.annotations` | Annotations to add to the ingress | `{}` |
| `ingress.ingressClassName` | Ingress class name; required for kubernetes 1.18+ | `nil` |
| `ingress.hosts` | Hostnames to redirect to the webapp | `[]` |
| `ingress.tls` | TLS Configuration | `[]` |
| `resources` | Container resource requests and limits in yaml | `{}` |
Expand Down
2 changes: 2 additions & 0 deletions charts/ltb-passwd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ service:
ingress:
enabled: false
annotations: {}
## See https://kubernetes.io/docs/concepts/services-networking/ingress/#ingressclass-scope
# ingressClassName: nginx
path: /
## Ingress Host
# hosts:
Expand Down
1 change: 1 addition & 0 deletions charts/phpldapadmin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ The following table lists the configurable parameters of the phpLDAPadmin chart
| **Ingress** |
| `ingress.enabled` | Enables Ingress | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.ingressClassName` | Ingress class name; required for kubernetes 1.18+ | `nil` |
| `ingress.path` | Path to access frontend | `/` |
| `ingress.hosts` | Ingress hosts | `nil` |
| `ingress.tls` | Ingress TLS configuration | `[]` |
Expand Down
2 changes: 2 additions & 0 deletions charts/phpldapadmin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ service:
ingress:
enabled: false
annotations: {}
## See https://kubernetes.io/docs/concepts/services-networking/ingress/#ingressclass-scope
# ingressClassName: nginx
path: /
## Ingress Host
# hosts:
Expand Down
16 changes: 16 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -452,18 +452,26 @@ test:
tag: 0.4.0

## ltb-passwd
# For more parameters check following file: ./charts/ltb-passwd/values.yaml
ltb-passwd:
enabled : true
image:
tag: 5.2.3
ingress:
enabled: true
annotations: {}
# See https://kubernetes.io/docs/concepts/services-networking/ingress/#ingressclass-scope
# ingressClassName: nginx
path: /
pathType: Prefix
## Ingress Host
hosts:
- "ssl-ldap2.example"
## Ingress cert
tls: []
# - secretName: ssl-ldap2.example
# hosts:
# - ssl-ldap2.example
# ldap:
# if you want to restrict search base tree for users instead of complete domain
# searchBase: "ou=....,dc=mydomain,dc=com"
Expand All @@ -473,6 +481,7 @@ ltb-passwd:
# passKey: LDAP_MY_KEY

## phpldapadmin
## For more parameters check following file: ./charts/phpldapadmin/values.yaml
phpldapadmin:
enabled: true
image:
Expand All @@ -482,8 +491,15 @@ phpldapadmin:
ingress:
enabled: true
annotations: {}
## See https://kubernetes.io/docs/concepts/services-networking/ingress/#ingressclass-scope
# ingressClassName: nginx
path: /
pathType: Prefix
## Ingress Host
hosts:
- phpldapadmin.example
## Ingress cert
tls: []
# - secretName: phpldapadmin.example
# hosts:
# - phpldapadmin.example