update redis wording to replica (#1680)

#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
-->

We should be using replica to indicate a new node of redis.

Unfortunatley gcr still hasn't pushed another image, so we will still
have to use registry.k8s.io/redis-slave:v2

#### What this PR does / why we need it:

N/A

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

N/A

#### Special notes for your reviewer:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
Charlie Drage
2023-07-25 14:32:20 -04:00
committed by GitHub
parent 554a0ea31e
commit 2c3f2939d4
16 changed files with 116 additions and 115 deletions
@@ -69,10 +69,10 @@
"kind": "Service",
"apiVersion": "v1",
"metadata": {
"name": "redis-slave",
"name": "redis-replica",
"creationTimestamp": null,
"labels": {
"io.kompose.service": "redis-slave"
"io.kompose.service": "redis-replica"
},
"annotations": {
"kompose.cmd": "%CMD%",
@@ -88,7 +88,7 @@
}
],
"selector": {
"io.kompose.service": "redis-slave"
"io.kompose.service": "redis-replica"
}
},
"status": {
@@ -223,15 +223,15 @@
},
"creationTimestamp": null,
"labels": {
"io.kompose.service": "redis-slave"
"io.kompose.service": "redis-replica"
},
"name": "redis-slave"
"name": "redis-replica"
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"io.kompose.service": "redis-slave"
"io.kompose.service": "redis-replica"
}
},
"strategy": {},
@@ -243,7 +243,7 @@
},
"creationTimestamp": null,
"labels": {
"io.kompose.service": "redis-slave"
"io.kompose.service": "redis-replica"
}
},
"spec": {
@@ -255,9 +255,9 @@
"value": "dns"
}
],
"image": "gcr.io/google_samples/gb-redisslave:v1",
"image": "registry.k8s.io/redis-slave:v2",
"imagePullPolicy": "",
"name": "redis-slave",
"name": "redis-replica",
"ports": [
{
"containerPort": 6379