Skip to content

Commit

Permalink
test fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 21, 2024
1 parent f6324eb commit a4ede2b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions charts/cryostat/tests/cryostat_service_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ tests:
value: TCP
- equal:
path: spec.ports[0].name
value: cryostat-http
value: http
- equal:
path: spec.ports[1].port
value: 443
Expand All @@ -175,11 +175,12 @@ tests:
value: TCP
- equal:
path: spec.ports[1].name
value: cryostat-https
value: https
- equal:
path: spec.selector
value:
app.kubernetes.io/name: cryostat
app.kubernetes.io/part-of: cryostat
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/component: cryostat
- equal:
Expand All @@ -188,6 +189,7 @@ tests:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: cryostat
app.kubernetes.io/part-of: cryostat
app.kubernetes.io/version: "4.0.0-dev"
helm.sh/chart: cryostat-2.0.0-dev
app.kubernetes.io/component: cryostat
1 change: 1 addition & 0 deletions charts/cryostat/tests/cryostat_tls_secret_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ tests:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: cryostat
app.kubernetes.io/part-of: cryostat
app.kubernetes.io/version: 4.0.0-dev
helm.sh/chart: cryostat-2.0.0-dev

Expand Down
4 changes: 2 additions & 2 deletions charts/cryostat/tests/notes_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ tests:
kubectl -n NAMESPACE wait --for=condition=available --timeout=60s deploy/RELEASE-NAME-cryostat-v4
export SVC_NAME=$(kubectl get services -n NAMESPACE -l "app.kubernetes.io/name=cryostat,app.kubernetes.io/instance=RELEASE-NAME,app.kubernetes.io/component=cryostat" --sort-by=.metadata.creationTimestamp -o jsonpath="{.items[-1:].metadata.name}")
kubectl -n NAMESPACE port-forward svc/$SVC_NAME 8443:cryostat-https
kubectl -n NAMESPACE port-forward svc/$SVC_NAME 8443:https
```
3. Visit the application at:
Expand Down Expand Up @@ -157,7 +157,7 @@ tests:
kubectl -n NAMESPACE wait --for=condition=available --timeout=60s deploy/RELEASE-NAME-cryostat-v4
export SVC_NAME=$(kubectl get services -n NAMESPACE -l "app.kubernetes.io/name=cryostat,app.kubernetes.io/instance=RELEASE-NAME,app.kubernetes.io/component=cryostat" --sort-by=.metadata.creationTimestamp -o jsonpath="{.items[-1:].metadata.name}")
kubectl -n NAMESPACE port-forward svc/$SVC_NAME 8080:cryostat-http
kubectl -n NAMESPACE port-forward svc/$SVC_NAME 8080:http
```
3. Visit the application at:
Expand Down

0 comments on commit a4ede2b

Please sign in to comment.