File tree Expand file tree Collapse file tree 9 files changed +14
-12
lines changed
integrity-shield-operator
webhook/admission-controller Expand file tree Collapse file tree 9 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -2066,8 +2066,8 @@ github.com/sigstore/cosign v1.5.2/go.mod h1:USeA+jISR3H86hfgsTn1UJYKC9mgEE7/o+dJ
2066
2066
github.com/sigstore/fulcio v0.0.0-20210720153316-846105495d38 /go.mod h1:FZL7iVdWduaZRpXrvjmuWyr7WyXy6KXsaEVhHdITlz4 =
2067
2067
github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7 h1:XE7A9lJ+wYhmUFBWYTaw3Ph943zHB4iBYd5R0SX0ZOA =
2068
2068
github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7 /go.mod h1:ANQivY/lfOp9hN92S813LEthkm/kit96hzeIF3SNoZA =
2069
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0 h1:mKlrF8MYhReT1wwwM6SW77/v1EbCfDiIiVE62Mj2jTU =
2070
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
2069
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9 h1:UYm8SbXXJmHrOU4LCvx0F1jJxJMt/tHs6MOhKqtV7Zw =
2070
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
2071
2071
github.com/sigstore/rekor v0.2.1-0.20210714185543-38d532d5c0b1 /go.mod h1:cL9B3+/gp3BG+/bhkSHBA3MQZMten5xM6BhJYd5b5zU =
2072
2072
github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3 h1:mbqXrm8YZXN/cJMGeBkgPnswtfrOxDE1f7QZdJ+POQE =
2073
2073
github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3 /go.mod h1:u9clLqaVjqV9pExVL1XkM37dGyMCOX/LMocS9nsnWDY =
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/open-policy-agent/gatekeeper v0.0.0-20210824170141-dd97b8a7e966
7
7
github.com/sigstore/cosign v1.5.2
8
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0
8
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9
9
9
github.com/sirupsen/logrus v1.8.1
10
10
github.com/stolostron/integrity-shield/reporter v0.0.0-00010101000000-000000000000
11
11
github.com/stolostron/integrity-shield/shield v0.0.0-00010101000000-000000000000
Original file line number Diff line number Diff line change @@ -2067,8 +2067,8 @@ github.com/sigstore/cosign v1.5.2/go.mod h1:USeA+jISR3H86hfgsTn1UJYKC9mgEE7/o+dJ
2067
2067
github.com/sigstore/fulcio v0.0.0-20210720153316-846105495d38 /go.mod h1:FZL7iVdWduaZRpXrvjmuWyr7WyXy6KXsaEVhHdITlz4 =
2068
2068
github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7 h1:XE7A9lJ+wYhmUFBWYTaw3Ph943zHB4iBYd5R0SX0ZOA =
2069
2069
github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7 /go.mod h1:ANQivY/lfOp9hN92S813LEthkm/kit96hzeIF3SNoZA =
2070
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0 h1:mKlrF8MYhReT1wwwM6SW77/v1EbCfDiIiVE62Mj2jTU =
2071
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
2070
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9 h1:UYm8SbXXJmHrOU4LCvx0F1jJxJMt/tHs6MOhKqtV7Zw =
2071
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
2072
2072
github.com/sigstore/rekor v0.2.1-0.20210714185543-38d532d5c0b1 /go.mod h1:cL9B3+/gp3BG+/bhkSHBA3MQZMten5xM6BhJYd5b5zU =
2073
2073
github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3 h1:mbqXrm8YZXN/cJMGeBkgPnswtfrOxDE1f7QZdJ+POQE =
2074
2074
github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3 /go.mod h1:u9clLqaVjqV9pExVL1XkM37dGyMCOX/LMocS9nsnWDY =
Original file line number Diff line number Diff line change @@ -1845,7 +1845,7 @@ github.com/sigstore/cosign v0.6.1-0.20210723014001-364cadc9e41f/go.mod h1:/mRVq8
1845
1845
github.com/sigstore/cosign v1.5.2 /go.mod h1:USeA+jISR3H86hfgsTn1UJYKC9mgEE7/o+dJ7sk63MY =
1846
1846
github.com/sigstore/fulcio v0.0.0-20210720153316-846105495d38 /go.mod h1:FZL7iVdWduaZRpXrvjmuWyr7WyXy6KXsaEVhHdITlz4 =
1847
1847
github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7 /go.mod h1:ANQivY/lfOp9hN92S813LEthkm/kit96hzeIF3SNoZA =
1848
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
1848
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
1849
1849
github.com/sigstore/rekor v0.2.1-0.20210714185543-38d532d5c0b1 /go.mod h1:cL9B3+/gp3BG+/bhkSHBA3MQZMten5xM6BhJYd5b5zU =
1850
1850
github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3 /go.mod h1:u9clLqaVjqV9pExVL1XkM37dGyMCOX/LMocS9nsnWDY =
1851
1851
github.com/sigstore/sigstore v0.0.0-20210713222344-1fee53516622 /go.mod h1:aOSeNrlcHsfUD8Q1hwWd8KloNqBnxEZlu4k47cFg5rg =
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require (
7
7
github.com/jinzhu/copier v0.3.2
8
8
github.com/pkg/errors v0.9.1
9
9
github.com/sigstore/cosign v1.5.2
10
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0
10
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9
11
11
github.com/sirupsen/logrus v1.8.1
12
12
k8s.io/api v0.23.0
13
13
k8s.io/apimachinery v0.23.0
Original file line number Diff line number Diff line change @@ -2065,8 +2065,8 @@ github.com/sigstore/cosign v1.5.2/go.mod h1:USeA+jISR3H86hfgsTn1UJYKC9mgEE7/o+dJ
2065
2065
github.com/sigstore/fulcio v0.0.0-20210720153316-846105495d38 /go.mod h1:FZL7iVdWduaZRpXrvjmuWyr7WyXy6KXsaEVhHdITlz4 =
2066
2066
github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7 h1:XE7A9lJ+wYhmUFBWYTaw3Ph943zHB4iBYd5R0SX0ZOA =
2067
2067
github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7 /go.mod h1:ANQivY/lfOp9hN92S813LEthkm/kit96hzeIF3SNoZA =
2068
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0 h1:mKlrF8MYhReT1wwwM6SW77/v1EbCfDiIiVE62Mj2jTU =
2069
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
2068
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9 h1:UYm8SbXXJmHrOU4LCvx0F1jJxJMt/tHs6MOhKqtV7Zw =
2069
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
2070
2070
github.com/sigstore/rekor v0.2.1-0.20210714185543-38d532d5c0b1 /go.mod h1:cL9B3+/gp3BG+/bhkSHBA3MQZMten5xM6BhJYd5b5zU =
2071
2071
github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3 h1:mbqXrm8YZXN/cJMGeBkgPnswtfrOxDE1f7QZdJ+POQE =
2072
2072
github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3 /go.mod h1:u9clLqaVjqV9pExVL1XkM37dGyMCOX/LMocS9nsnWDY =
Original file line number Diff line number Diff line change @@ -277,6 +277,8 @@ func setVerifyOption(constraint *config.ManifestVerifyRule, mvconfig *config.Man
277
277
if vo .DryRunNamespace == "" {
278
278
vo .DryRunNamespace = config .DefaultDryRunNS
279
279
}
280
+ // set CheckMutatingResource option for multiple mutating webhooks
281
+ vo .CheckMutatingResource = true
280
282
281
283
// set Signature type
282
284
if signatureAnnotationType == SignatureAnnotationTypeShield {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require (
7
7
github.com/jinzhu/copier v0.3.2
8
8
github.com/pkg/errors v0.9.1
9
9
github.com/sigstore/cosign v1.5.2
10
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0
10
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9
11
11
github.com/sirupsen/logrus v1.8.1
12
12
github.com/stolostron/integrity-shield/shield v0.0.0-00010101000000-000000000000
13
13
k8s.io/api v0.23.0
Original file line number Diff line number Diff line change @@ -2065,8 +2065,8 @@ github.com/sigstore/cosign v1.5.2/go.mod h1:USeA+jISR3H86hfgsTn1UJYKC9mgEE7/o+dJ
2065
2065
github.com/sigstore/fulcio v0.0.0-20210720153316-846105495d38 /go.mod h1:FZL7iVdWduaZRpXrvjmuWyr7WyXy6KXsaEVhHdITlz4 =
2066
2066
github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7 h1:XE7A9lJ+wYhmUFBWYTaw3Ph943zHB4iBYd5R0SX0ZOA =
2067
2067
github.com/sigstore/fulcio v0.1.2-0.20220114150912-86a2036f9bc7 /go.mod h1:ANQivY/lfOp9hN92S813LEthkm/kit96hzeIF3SNoZA =
2068
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0 h1:mKlrF8MYhReT1wwwM6SW77/v1EbCfDiIiVE62Mj2jTU =
2069
- github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220316094109-adfc287a58c0 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
2068
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9 h1:UYm8SbXXJmHrOU4LCvx0F1jJxJMt/tHs6MOhKqtV7Zw =
2069
+ github.com/sigstore/k8s-manifest-sigstore v0.2.1-0.20220323082949-1c9e624d9ac9 /go.mod h1:fWELceT4GvNZZrC12UutTIpuNa15++WW0rxxiStokTw =
2070
2070
github.com/sigstore/rekor v0.2.1-0.20210714185543-38d532d5c0b1 /go.mod h1:cL9B3+/gp3BG+/bhkSHBA3MQZMten5xM6BhJYd5b5zU =
2071
2071
github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3 h1:mbqXrm8YZXN/cJMGeBkgPnswtfrOxDE1f7QZdJ+POQE =
2072
2072
github.com/sigstore/rekor v0.4.1-0.20220114213500-23f583409af3 /go.mod h1:u9clLqaVjqV9pExVL1XkM37dGyMCOX/LMocS9nsnWDY =
You can’t perform that action at this time.
0 commit comments