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:
Koen 2021-06-04 15:52:49 +02:00 committed by GitHub
parent 02b1caa6e5
commit 9a444d495f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -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/) |

View file

@ -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

View file

@ -0,0 +1,6 @@
# copy over all values from the service.spc
service:
type: LoadBalancer
spec:
loadBalancerIP: 10.10.100.100
externalTrafficPolicy: Local