Skip to content

Commit

Permalink
Modify rule S6473: Fix Kubernetes service code example (#4429)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabinL21 authored Oct 22, 2024
1 parent cfcc2e6 commit 0c1d492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/S6473/kubernetes/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- name: applications
image: my_image_with_ssh
ports:
- containerPort: 22 # NonCompliant: Merely informative, removing this property does not
- containerPort: 22 # Noncompliant: Merely informative, removing this property does not
# close port 22.
----

Expand All @@ -48,7 +48,7 @@ spec:
type: LoadBalancer
ports:
- port: 8022
targetPort: 22 # Compliant
targetPort: 22 # Noncompliant
selector:
app: example_app
----
Expand Down

0 comments on commit 0c1d492

Please sign in to comment.