fix: fix redis nodeport (take 2)
This commit is contained in:
@@ -25,8 +25,10 @@ spec:
|
|||||||
chart: redis
|
chart: redis
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/redis/values-{{ env }}.yaml
|
- $values/kustomizations/redis/values-{{ env }}.yaml
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: kustomizations/redis
|
|
||||||
ref: values
|
ref: values
|
||||||
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
|
targetRevision: main
|
||||||
|
path: kustomizations/redis/nodeport-{{ env }}.yaml
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: prod-redis-nodeport
|
||||||
|
spec:
|
||||||
|
externalTrafficPolicy: Cluster
|
||||||
|
ports:
|
||||||
|
- name: redis
|
||||||
|
nodePort: 30379
|
||||||
|
port: 6379
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 6379
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/instance: prod-redis
|
||||||
|
app.kubernetes.io/name: redis
|
||||||
|
sessionAffinity: None
|
||||||
|
type: NodePort
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: stagin-redis-nodeport
|
||||||
|
spec:
|
||||||
|
externalTrafficPolicy: Cluster
|
||||||
|
ports:
|
||||||
|
- name: redis
|
||||||
|
nodePort: 31379
|
||||||
|
port: 6379
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 6379
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/instance: staging-redis
|
||||||
|
app.kubernetes.io/name: redis
|
||||||
|
sessionAffinity: None
|
||||||
|
type: NodePort
|
||||||
@@ -8,7 +8,3 @@ auth:
|
|||||||
existingSecretPasswordKey: ""
|
existingSecretPasswordKey: ""
|
||||||
existingSecret: prod-redis
|
existingSecret: prod-redis
|
||||||
|
|
||||||
master:
|
|
||||||
service:
|
|
||||||
nodePorts:
|
|
||||||
redis: 30379
|
|
||||||
|
|||||||
@@ -11,8 +11,3 @@ auth:
|
|||||||
existingSecretPasswordKey: ""
|
existingSecretPasswordKey: ""
|
||||||
existingSecret: staging-redis
|
existingSecret: staging-redis
|
||||||
|
|
||||||
master:
|
|
||||||
service:
|
|
||||||
nodePorts:
|
|
||||||
redis: 31379
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user