Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ issues:
- vendor

run:
timeout: 10m
timeout: 10m
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,6 @@ ct: $(BUILD_DIRS)
ct $(CT_COMMAND) --debug --validate-maintainers=false $(CT_ARGS) \
"

ADDTL_LINTERS := gofmt,goimports,unparam

.PHONY: lint
lint: $(BUILD_DIRS)
@echo "running linter"
Expand Down
14 changes: 7 additions & 7 deletions apis/installer/fuzzer/fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ package fuzzer
import (
"stash.appscode.dev/installer/apis/installer/v1alpha1"

fuzz "github.com/google/gofuzz"
runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
"sigs.k8s.io/randfill"
)

// Funcs returns the fuzzer functions for this api group.
var Funcs = func(codecs runtimeserializer.CodecFactory) []any {
return []any{
func(s *v1alpha1.StashCommunity, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.StashCommunity, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha1.StashEnterprise, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.StashEnterprise, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
func(s *v1alpha1.Stash, c fuzz.Continue) {
c.FuzzNoCustom(s) // fuzz self without calling this function again
func(s *v1alpha1.Stash, c randfill.Continue) {
c.Fill(s) // fuzz self without calling this function again
},
}
}
136 changes: 32 additions & 104 deletions charts/stash-community/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand All @@ -397,10 +394,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand Down Expand Up @@ -629,10 +623,7 @@ properties:
The same key is forbidden to exist in both matchLabelKeys and
labelSelector.

Also, matchLabelKeys cannot be set when labelSelector isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
Also, matchLabelKeys cannot be set when labelSelector isn''t set.'
items:
type: string
type: array
Expand All @@ -659,10 +650,7 @@ properties:
labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand Down Expand Up @@ -788,9 +776,9 @@ properties:

request, requiredDuringScheduling anti-affinity expressions, etc.),

compute a sum by iterating through the elements of this field and adding
compute a sum by iterating through the elements of this field and subtracting

"weight" to the sum if the node has pods which matches the corresponding
"weight" from the sum if the node has pods which matches the corresponding
podAffinityTerm; the

node(s) with the highest sum are the most preferred.'
Expand Down Expand Up @@ -884,10 +872,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand All @@ -914,10 +899,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand Down Expand Up @@ -1147,10 +1129,7 @@ properties:
The same key is forbidden to exist in both matchLabelKeys and
labelSelector.

Also, matchLabelKeys cannot be set when labelSelector isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
Also, matchLabelKeys cannot be set when labelSelector isn''t set.'
items:
type: string
type: array
Expand All @@ -1177,10 +1156,7 @@ properties:
labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand Down Expand Up @@ -1731,10 +1707,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector
isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
isn''t set.'
items:
type: string
type: array
Expand All @@ -1761,10 +1734,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector
isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
isn''t set.'
items:
type: string
type: array
Expand Down Expand Up @@ -1995,10 +1965,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand All @@ -2025,10 +1992,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand Down Expand Up @@ -2157,9 +2121,9 @@ properties:
request, requiredDuringScheduling anti-affinity expressions, etc.),

compute a sum by iterating through the elements of this field and
adding
subtracting

"weight" to the sum if the node has pods which matches the corresponding
"weight" from the sum if the node has pods which matches the corresponding
podAffinityTerm; the

node(s) with the highest sum are the most preferred.'
Expand Down Expand Up @@ -2253,10 +2217,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector
isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
isn''t set.'
items:
type: string
type: array
Expand All @@ -2283,10 +2244,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector
isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
isn''t set.'
items:
type: string
type: array
Expand Down Expand Up @@ -2517,10 +2475,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand All @@ -2547,10 +2502,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand Down Expand Up @@ -3367,10 +3319,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector
isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
isn''t set.'
items:
type: string
type: array
Expand All @@ -3397,10 +3346,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector
isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
isn''t set.'
items:
type: string
type: array
Expand Down Expand Up @@ -3631,10 +3577,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand All @@ -3661,10 +3604,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand Down Expand Up @@ -3793,9 +3733,9 @@ properties:
request, requiredDuringScheduling anti-affinity expressions, etc.),

compute a sum by iterating through the elements of this field and
adding
subtracting

"weight" to the sum if the node has pods which matches the corresponding
"weight" from the sum if the node has pods which matches the corresponding
podAffinityTerm; the

node(s) with the highest sum are the most preferred.'
Expand Down Expand Up @@ -3889,10 +3829,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector
isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
isn''t set.'
items:
type: string
type: array
Expand All @@ -3919,10 +3856,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector
isn''t set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
isn''t set.'
items:
type: string
type: array
Expand Down Expand Up @@ -4153,10 +4087,7 @@ properties:
and labelSelector.

Also, matchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand All @@ -4183,10 +4114,7 @@ properties:
and labelSelector.

Also, mismatchLabelKeys cannot be set when labelSelector isn''t
set.

This is a beta field and requires enabling MatchLabelKeysInPodAffinity
feature gate (enabled by default).'
set.'
items:
type: string
type: array
Expand Down Expand Up @@ -4683,7 +4611,7 @@ properties:
that are used by this container.


This is an alpha field and requires enabling the
This field depends on the

DynamicResourceAllocation feature gate.

Expand Down Expand Up @@ -5367,7 +5295,7 @@ properties:
that are used by this container.


This is an alpha field and requires enabling the
This field depends on the

DynamicResourceAllocation feature gate.

Expand Down
Loading
Loading