Skip to content
Snippets Groups Projects
Commit 963a31c3 authored by Guillaume Samson's avatar Guillaume Samson
Browse files

Software-stories: fix some chart incoherencies

Related to swh/infra/sysadm-environment#4805
parent 881c844e
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: {{ .Values.namespace }}
name: software-stories-ingress
name: {{ .Values.name }}
# annotations:
# nginx.ingress.kubernetes.io/rewrite-target: /
spec:
......
......@@ -14,22 +14,22 @@ tests:
apiVersion: apps/v1
- equal:
path: metadata.namespace
value: softwarestories
value: software-stories
- equal:
path: metadata.name
value: softwarestories
value: software-stories
- equal:
path: metadata.labels.app
value: softwarestories
value: software-stories
- equal:
path: spec.replicas
value: 2
- equal:
path: spec.template.metadata.labels.app
value: softwarestories
value: software-stories
- equal:
path: spec.template.spec.containers[0].name
value: softwarestories
value: software-stories
- equal:
path: spec.template.spec.containers[0].image
value: image:version
......@@ -11,7 +11,10 @@ tests:
apiVersion: networking.k8s.io/v1
- equal:
path: metadata.namespace
value: softwarestories
value: software-stories
- equal:
path: metadata.name
value: software-stories
- isNull:
path: spec.ingressClassName
- equal:
......
......@@ -11,10 +11,10 @@ tests:
apiVersion: v1
- equal:
path: metadata.namespace
value: softwarestories
value: software-stories
- equal:
path: metadata.name
value: softwarestories
value: software-stories
- equal:
path: spec.selector.app
value: softwarestories
value: software-stories
replicaCount: 2
name: softwarestories
name: software-stories
containerImage: container-registry.softwareheritage.org/swh/infra/swh-apps/software-stories
containerVersion: '20230314.1'
namespace: softwarestories
namespace: software-stories
host: software-stories.staging.swh.network
# ingressClassName: nginx
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment