auto upgrade redis [ci skip]
This commit is contained in:
parent
0752e80231
commit
ba663907dc
2 changed files with 4 additions and 1 deletions
|
|
@ -25,6 +25,9 @@ resource "kubernetes_deployment" "redis" {
|
||||||
}
|
}
|
||||||
spec {
|
spec {
|
||||||
replicas = 1
|
replicas = 1
|
||||||
|
strategy {
|
||||||
|
type = "Recreate"
|
||||||
|
}
|
||||||
selector {
|
selector {
|
||||||
match_labels = {
|
match_labels = {
|
||||||
app = "redis"
|
app = "redis"
|
||||||
|
|
@ -38,7 +41,7 @@ resource "kubernetes_deployment" "redis" {
|
||||||
}
|
}
|
||||||
spec {
|
spec {
|
||||||
container {
|
container {
|
||||||
image = "redis/redis-stack:7.4.0-v6"
|
image = "redis/redis-stack:latest"
|
||||||
name = "redis"
|
name = "redis"
|
||||||
|
|
||||||
port {
|
port {
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue