mirror of
https://github.com/bokysan/docker-postfix.git
synced 2024-09-20 06:46:10 +08:00
Need to set LoadbalancerIP in Service specification. Patch to copy all specs over from Values files. (#72)
* copy other specs over I want to copy over loadBalancerIP to grab a predefined static ip * removed hardcoded LoadbalancerIP * Set theme jekyll-theme-slate * update README * test service specs are copied over * undo config changes * remove config file
This commit is contained in:
parent
02b1caa6e5
commit
9a444d495f
|
@ -460,6 +460,7 @@ Chart configuration is as follows:
|
|||
| `service.port` | `587` | SMTP submission port |
|
||||
| `service.labels` | `{}` | Additional service labels |
|
||||
| `service.annotations` | `{}` | Additional service annotations |
|
||||
| `service.spec` | `{}` | Additional service specifications |
|
||||
| `service.nodePort` | *empty* | Use a specific `nodePort` |
|
||||
| `service.nodeIP` | *empty* | Use a specific `nodeIP` |
|
||||
| `resources` | `{}` | [Pod resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) |
|
||||
|
|
|
@ -13,6 +13,7 @@ metadata:
|
|||
{{- with .Values.service.annotations }}{{ toYaml . | nindent 4 }}{{ end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{- with .Values.service.spec }}{{ toYaml . | nindent 2 }}{{ end }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: smtp
|
||||
|
|
6
helm/test_6_service_spec.yml
Normal file
6
helm/test_6_service_spec.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
# copy over all values from the service.spc
|
||||
service:
|
||||
type: LoadBalancer
|
||||
spec:
|
||||
loadBalancerIP: 10.10.100.100
|
||||
externalTrafficPolicy: Local
|
Loading…
Reference in a new issue