This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
194 additions
and
24 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 |
---|---|---|
|
@@ -42,7 +42,7 @@ The following items can be set via `--set` flag during installation or configure | |
Install the pgAdmin helm chart with a release name `my-release`: | ||
|
||
```bash | ||
helm install --name my-release helm install cetic/helm-pgadmin | ||
helm install --name my-release cetic/pgadmin | ||
``` | ||
|
||
## Uninstallation | ||
|
@@ -61,29 +61,38 @@ The following table lists the configurable parameters of the pgAdmin chart and t | |
| --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------| ------------------------------- | | ||
| **Image** | | ||
| `image.repository` | pgAdmin Image name | `dpage/pgadmin4` | | ||
| `image.tag` | pgAdmin Image tag | `4.7` | | ||
| `image.tag` | pgAdmin Image tag | `4.8` | | ||
| `image.pullPolicy` | pgAdmin Image pull policy | `IfNotPresent` | | ||
| **PgAdmin** | | ||
| `pgadmin.username` | pgAdmin admin user | `[email protected]` | | ||
| `pgadmin.paasword` | pgAdmin admin password | `admin` | | ||
| `pgadmin.password` | pgAdmin admin password | `admin` | | ||
| `pgadmin.tls` | pgAdmin admin TLS. the container will listen on port 80 for connections in plain text. If set to any value, the container will listen on port 443 for TLS connections. When TLS is enabled, a certificate and key must be provided. See [secrets file](/templates/secrets.yaml)| `false` | | ||
| **Persistence** | | ||
| `persistence.enabled` | Enable the data persistence or not | `true` | | ||
| `persistence.existingClaim` | Provide an existing PersistentVolumeClaim, the value is evaluated as a template. | `nil` | | ||
| `persistence.storageClass` | PVC Storage Class for PostgreSQL volume. | `nil` | | ||
| `persistence.accessMode` | The access mode of the volume. | `ReadWriteOnce` | | ||
| `persistence.size` | The size of the volume. | `4Gi` | | ||
| `persistence.existingClaim` | Provide an existing PersistentVolumeClaim, the value is evaluated as a template | `nil` | | ||
| `persistence.storageClass` | PVC Storage Class for PostgreSQL volume | `nil` | | ||
| `persistence.accessMode` | The access mode of the volume | `ReadWriteOnce` | | ||
| `persistence.size` | The size of the volume | `4Gi` | | ||
| **Service** | | ||
| `service.type` | Type of service for pgAdmin frontend | `LoadBalancer` | | ||
| `service.type` | Type of service for pgAdmin frontend | `LoadBalancer` | | ||
| `service.port` | Port to expose service | `80` | | ||
| `service.tlsport` | Port to expose service in tls, `pgadmin.tls`must be enabled | `443` | | ||
| `service.loadBalancerIP` | LoadBalancerIP if service type is `LoadBalancer` | `nil` | | ||
| `service.loadBalancerSourceRanges` | Address that are allowed when svc is `LoadBalancer` | [] | | ||
| `service.loadBalancerSourceRanges` | Address that are allowed when svc is `LoadBalancer` | `[]` | | ||
| `service.annotations` | Service annotations | `{}` | | ||
| **ReadinessProbe** | | ||
| `readinessProbe` | Rediness Probe settings | `{ "httpGet": { "path": "/", "port": http } "initialDelaySeconds": 60, "periodSeconds": 15, "timeoutSeconds": 10 }`| | ||
| **LivenessProbe** | | ||
| `livenessProbe` | Liveness Probe settings | `{ "httpGet": { "path": "/", "port": http } "initialDelaySeconds": 60, "periodSeconds": 30, "timeoutSeconds": 10 }` | | ||
| **Resources** | | ||
| `resources` | CPU/Memory resource requests/limits | `{}` | | ||
| **Ingress** | | ||
| `ingress.enabled` | Enables Ingress | `false` | | ||
| `ingress.tls` | Ingress TLS configuration | `[]` | | ||
|
||
## Credits | ||
|
||
Initially inspired from https://github.com/jjcollinge/pgadmin-chart | ||
Initially inspired from https://github.com/jjcollinge/pgadmin-chart, which is archived. | ||
|
||
## License | ||
|
||
|
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,35 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIGFTCCA/2gAwIBAgIUA8oc96gSxoNfclf8suJ9HtP2TEMwDQYJKoZIhvcNAQEL | ||
BQAwgZkxCzAJBgNVBAYTAmJlMRAwDgYDVQQIDAdIYWluYXV0MRIwEAYDVQQHDAlD | ||
aGFybGVyb2kxDjAMBgNVBAoMBWNldGljMQ8wDQYDVQQLDAZtYmVkaXMxFzAVBgNV | ||
BAMMDjE5Mi4xNjguOTkuMTAxMSowKAYJKoZIhvcNAQkBFhthbGV4YW5kcmUubnV0 | ||
dGluY2tAY2V0aWMuYmUwHhcNMTkwNjA0MTQwNjQxWhcNMjAwNjAzMTQwNjQxWjCB | ||
mTELMAkGA1UEBhMCYmUxEDAOBgNVBAgMB0hhaW5hdXQxEjAQBgNVBAcMCUNoYXJs | ||
ZXJvaTEOMAwGA1UECgwFY2V0aWMxDzANBgNVBAsMBm1iZWRpczEXMBUGA1UEAwwO | ||
MTkyLjE2OC45OS4xMDExKjAoBgkqhkiG9w0BCQEWG2FsZXhhbmRyZS5udXR0aW5j | ||
a0BjZXRpYy5iZTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKxx/o97 | ||
8WxYZ7lKUoeEAKC/u3g407own2X0QssvIS2qVbudtF/32rQph6MwU84v61iRz5+m | ||
YzEzxFi0mOrrfSYqrQZ21xJLKZlLfY4kg0RgRD6po2WThATOv+s0eFPACrMxAydQ | ||
7g5B7bH0IxAeTwCS2csSgfFHCfCxomlUgyqMWDCvTr6iUIm7B0O5zYFVCGm90ILx | ||
D9eXEfEaO16q895I8+2OsLnKqMSdc0zLZszc01PkT99z+HshRyH9MdE9jTK0jxZh | ||
w33GZ7dbuxx0fVi2UuBwjNO02J8L0iogMMLPa0NH+kLGI4fVYB//mICPxb4gWQ8q | ||
ij4VjFoECjsvkDWRUEraLflX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qHQTtay+rm462x/M8DkW/BpTkplgV1fEKO8X9q/PPhcUg8QyAMB5bRQUR | ||
Y+gd4EFjBPR8m660r89C+GyRDz8a4TnOxJkql2ONpm/L1oQhUgYz08nCKCYOZAjD | ||
QBLdhJFPh7+08NtECzOrEtBrEDxPqxhznQ== | ||
-----END CERTIFICATE----- |
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,52 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIJRQIBADANBgkqhkiG9w0BAQEFAASCCS8wggkrAgEAAoICAQCscf6Pe/FsWGe5 | ||
SlKHhACgv7t4ONO6MJ9l9ELLLyEtqlW7nbRf99q0KYejMFPOL+tYkc+fpmMxM8RY | ||
tJjq630mKq0GdtcSSymZS32OJINEYEQ+qaNlk4QEzr/rNHhTwAqzMQMnUO4OQe2x | ||
9CMQHk8AktnLEoHxRwnwsaJpVIMqjFgwr06+olCJuwdDuc2BVQhpvdCC8Q/XlxHx | ||
GjteqvPeSPPtjrC5yqjEnXNMy2bM3NNT5E/fc/h7IUch/THRPY0ytI8WYcN9xme3 | ||
W7scdH1YtlLgcIzTtNifC9IqIDDCz2tDR/pCxiOH1WAf/5iAj8W+IFkPKoo+FYxa | ||
BAo7L5A1kVBK2i35V1sZsFgI5mrB+k6m4MGWisieoYAMxT277dCmzVDwJZFerD91 | ||
x9M2SLDFm8YsfKApEmJP7j7zLDiXIVN2j/SAkTkX9C07QT+OM+bC9jS8fIv/6e1K | ||
40NhBIfuai8cvgREPsmMXzK+AIa5oRVABAatJmn7o3EN4+kfd4VEBJ3IF7rFiIcV | ||
6+3Kq/SBt6GD+LTRwt6a2yALx7RfJdU956XMPIYBLv/2kc0RlLWEXDF634qC6UA+ | ||
1+Mss9iNWNm6wRKVj/3JLsR0EeoEn5z4CqKOqZ49N0ctLGujnDV7GOV2bJ0p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zptR/+H5XHWSKDmEETR4aS4HRgbri0MARZ/fFUoeU7FywWlKw9jZ | ||
Y/ZWYAOCI/3vDLMPN040vJT5yWl4p1VdAYiYwGZa5ep9I57/FX/EISLrxNFNTjgq | ||
q3hEOQKCAQEAw6KJtBQIxM1tov/HLgcthTCmE9PUe589C/JvWLp0ipnQ5PP64abO | ||
rLvfQWIvu/iKY8ckcDaDkiol9q93Ao6wRh4XjLpFJ8j2URa24whiWN8lOJgsygYB | ||
gSrOkjaWxwJVrIt4+dZVExDNiEWie+Hg0Pq5kCVRk4Kzi/FFjGqA6vG82ONiLfaP | ||
XvgffE25qCqwiX7j/htXyS6cA3zIXvpwxDJeY1oyLAMetGzT6nMmeiOUIMI+xXdg | ||
o+dBsBWywg2gbP4QApnpDzcY7zIOOKtdicDVq2swwneR9uvNOSX2x1OnBjkIR6Re | ||
kZ7mTxpW0256Kt+FzVnpb7TJSpUGyhwoMA== | ||
-----END PRIVATE KEY----- |
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 |
---|---|---|
|
@@ -2,16 +2,15 @@ | |
## | ||
image: | ||
repository: dpage/pgadmin4 | ||
tag: 4.7 | ||
tag: 4.8 | ||
pullPolicy: IfNotPresent | ||
|
||
pgadmin: | ||
## pgadmin admin user | ||
username: [email protected] | ||
## pgadmin admin password | ||
password: admin | ||
|
||
resources: {} | ||
tls: false | ||
|
||
## Enable persistence using Persistent Volume Claims | ||
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ | ||
|
@@ -47,6 +46,8 @@ service: | |
name: pgadmin | ||
type: LoadBalancer | ||
port: 80 | ||
tlsport: 443 | ||
annotations: {} | ||
|
||
## Set the LoadBalancer service type to internal only. | ||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer | ||
|
@@ -70,11 +71,35 @@ ingress: | |
clusterIssuer: letsencrypt-staging | ||
externalDNSName: pgadmin.example.com | ||
|
||
## TODO | ||
## Configure liveness and readiness probes | ||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ | ||
## | ||
readinessProbe: | ||
httpGet: | ||
path: / | ||
port: http | ||
initialDelaySeconds: 60 | ||
periodSeconds: 15 | ||
timeoutSeconds: 10 | ||
livenessProbe: | ||
httpGet: | ||
path: / | ||
port: http | ||
initialDelaySeconds: 60 | ||
periodSeconds: 30 | ||
timeoutSeconds: 10 | ||
|
||
## Configure resource requests and limits | ||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/ | ||
## | ||
#resources: | ||
# requests: | ||
# memory: 256Mi | ||
# cpu: 250m | ||
resources: {} | ||
# We usually recommend not to specify default resources and to leave this as a conscious | ||
# choice for the user. This also increases chances charts run on environments with little | ||
# resources, such as Minikube. If you do want to specify resources, uncomment the following | ||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'. | ||
# limits: | ||
# cpu: 100m | ||
# memory: 128Mi | ||
# requests: | ||
# cpu: 100m | ||
# memory: 128Mi |