Skip to content

Commit

Permalink
fix validation panic issue (#169)
Browse files Browse the repository at this point in the history
Signed-off-by: raffaelespazzoli <raffaele.spazzoli@gmail.com>
  • Loading branch information
raffaelespazzoli authored Nov 22, 2023
1 parent b6f4674 commit d2d7999
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/onsi/ginkgo/v2 v2.11.0
github.com/onsi/gomega v1.27.10
github.com/openshift/api v0.0.0-20231020115248-f404f2bc3524
github.com/redhat-cop/operator-utils v1.3.7
github.com/redhat-cop/operator-utils v1.3.8
github.com/redhat-cop/vault-config-operator v0.8.24
github.com/scylladb/go-set v1.0.2
k8s.io/api v0.28.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdO
github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY=
github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg=
github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM=
github.com/redhat-cop/operator-utils v1.3.7 h1:RNOa+PP+Rdlg8uAhDvHGnZ+UkPSJzXwG9bbQBajkXoo=
github.com/redhat-cop/operator-utils v1.3.7/go.mod h1:s4R0YY8lVlHkC78GLV20PPuZmywjSbTwZKCHwWUQ3P8=
github.com/redhat-cop/operator-utils v1.3.8 h1:xhoMBg2snSzNdcxT53lSBr7PRXxrzP1cDi51NPBLaT4=
github.com/redhat-cop/operator-utils v1.3.8/go.mod h1:s4R0YY8lVlHkC78GLV20PPuZmywjSbTwZKCHwWUQ3P8=
github.com/redhat-cop/vault-config-operator v0.8.24 h1:5jyIvdcX9OcikBsJURTHxov8tMpPubpHICqwAccoDdI=
github.com/redhat-cop/vault-config-operator v0.8.24/go.mod h1:/L88OzBlgorRu6dfrZoyt67/0kXJ0Vr6hNtzINEgFiA=
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
Expand Down
13 changes: 1 addition & 12 deletions test/namespace-config-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,4 @@ spec:
requests.ephemeral-storage: 2Gi
limits.cpu: "2"
limits.memory: 2Gi
limits.ephemeral-storage: 4Gi
- objectTemplate: |
kind: EgressNetworkPolicy
apiVersion: network.openshift.io/v1
metadata:
name: air-gapped
namespace: {{ .Name }}
spec:
egress:
- type: Deny
to:
cidrSelector: 0.0.0.0/0
limits.ephemeral-storage: 4Gi

0 comments on commit d2d7999

Please sign in to comment.