Skip to content

Commit

Permalink
fix: elasticsearch is actually elasticsearch-persistent (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon authored Aug 9, 2024
1 parent 2fa66e0 commit d5fd8c4
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion internal/servicetypes/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
var defaultElasticsearchPort int32 = 9200

var elasticsearch = ServiceType{
Name: "elasticsearch",
Name: "elasticsearch-persistent",
Ports: ServicePorts{
Ports: []corev1.ServicePort{
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ metadata:
labels:
app.kubernetes.io/instance: myservice
app.kubernetes.io/managed-by: build-deploy-tool
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
lagoon.sh/buildType: branch
lagoon.sh/environment: environment-name
lagoon.sh/environmentType: production
lagoon.sh/project: example-project
lagoon.sh/service: myservice
lagoon.sh/service-type: elasticsearch
lagoon.sh/template: elasticsearch-0.1.0
lagoon.sh/service-type: elasticsearch-persistent
lagoon.sh/template: elasticsearch-persistent-0.1.0
name: myservice
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: myservice
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
strategy:
type: Recreate
template:
Expand All @@ -39,14 +39,14 @@ spec:
labels:
app.kubernetes.io/instance: myservice
app.kubernetes.io/managed-by: build-deploy-tool
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
lagoon.sh/buildType: branch
lagoon.sh/environment: environment-name
lagoon.sh/environmentType: production
lagoon.sh/project: example-project
lagoon.sh/service: myservice
lagoon.sh/service-type: elasticsearch
lagoon.sh/template: elasticsearch-0.1.0
lagoon.sh/service-type: elasticsearch-persistent
lagoon.sh/template: elasticsearch-persistent-0.1.0
spec:
containers:
- env:
Expand Down Expand Up @@ -124,21 +124,21 @@ metadata:
labels:
app.kubernetes.io/instance: myservice-size
app.kubernetes.io/managed-by: build-deploy-tool
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
lagoon.sh/buildType: branch
lagoon.sh/environment: environment-name
lagoon.sh/environmentType: production
lagoon.sh/project: example-project
lagoon.sh/service: myservice-size
lagoon.sh/service-type: elasticsearch
lagoon.sh/template: elasticsearch-0.1.0
lagoon.sh/service-type: elasticsearch-persistent
lagoon.sh/template: elasticsearch-persistent-0.1.0
name: myservice-size
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: myservice-size
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
strategy:
type: Recreate
template:
Expand All @@ -154,14 +154,14 @@ spec:
labels:
app.kubernetes.io/instance: myservice-size
app.kubernetes.io/managed-by: build-deploy-tool
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
lagoon.sh/buildType: branch
lagoon.sh/environment: environment-name
lagoon.sh/environmentType: production
lagoon.sh/project: example-project
lagoon.sh/service: myservice-size
lagoon.sh/service-type: elasticsearch
lagoon.sh/template: elasticsearch-0.1.0
lagoon.sh/service-type: elasticsearch-persistent
lagoon.sh/template: elasticsearch-persistent-0.1.0
spec:
containers:
- env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ metadata:
labels:
app.kubernetes.io/instance: myservice
app.kubernetes.io/managed-by: build-deploy-tool
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
lagoon.sh/buildType: branch
lagoon.sh/environment: environment-name
lagoon.sh/environmentType: production
lagoon.sh/project: example-project
lagoon.sh/service: myservice
lagoon.sh/service-type: elasticsearch
lagoon.sh/template: elasticsearch-0.1.0
lagoon.sh/service-type: elasticsearch-persistent
lagoon.sh/template: elasticsearch-persistent-0.1.0
name: myservice
spec:
accessModes:
Expand All @@ -40,14 +40,14 @@ metadata:
labels:
app.kubernetes.io/instance: myservice-size
app.kubernetes.io/managed-by: build-deploy-tool
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
lagoon.sh/buildType: branch
lagoon.sh/environment: environment-name
lagoon.sh/environmentType: production
lagoon.sh/project: example-project
lagoon.sh/service: myservice-size
lagoon.sh/service-type: elasticsearch
lagoon.sh/template: elasticsearch-0.1.0
lagoon.sh/service-type: elasticsearch-persistent
lagoon.sh/template: elasticsearch-persistent-0.1.0
name: myservice-size
spec:
accessModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ metadata:
labels:
app.kubernetes.io/instance: myservice
app.kubernetes.io/managed-by: build-deploy-tool
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
lagoon.sh/buildType: branch
lagoon.sh/environment: environment-name
lagoon.sh/environmentType: production
lagoon.sh/project: example-project
lagoon.sh/service: myservice
lagoon.sh/service-type: elasticsearch
lagoon.sh/template: elasticsearch-0.1.0
lagoon.sh/service-type: elasticsearch-persistent
lagoon.sh/template: elasticsearch-persistent-0.1.0
name: myservice
spec:
ports:
Expand All @@ -26,7 +26,7 @@ spec:
targetPort: 9200
selector:
app.kubernetes.io/instance: myservice
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
status:
loadBalancer: {}
---
Expand All @@ -40,14 +40,14 @@ metadata:
labels:
app.kubernetes.io/instance: myservice-size
app.kubernetes.io/managed-by: build-deploy-tool
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
lagoon.sh/buildType: branch
lagoon.sh/environment: environment-name
lagoon.sh/environmentType: production
lagoon.sh/project: example-project
lagoon.sh/service: myservice-size
lagoon.sh/service-type: elasticsearch
lagoon.sh/template: elasticsearch-0.1.0
lagoon.sh/service-type: elasticsearch-persistent
lagoon.sh/template: elasticsearch-persistent-0.1.0
name: myservice-size
spec:
ports:
Expand All @@ -57,6 +57,6 @@ spec:
targetPort: 9200
selector:
app.kubernetes.io/instance: myservice-size
app.kubernetes.io/name: elasticsearch
app.kubernetes.io/name: elasticsearch-persistent
status:
loadBalancer: {}

0 comments on commit d5fd8c4

Please sign in to comment.