Skip to content

Commit

Permalink
Fix secret nonce CRD scheme (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
Starefossen authored Aug 15, 2023
1 parent d4c0962 commit 4dce844
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1/unleash_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ type UnleashFederationConfig struct {
// SecretNonce is the shared secret used for federation
// +kubebuilder:validation:Optional
// +kubebuilder:validation:Pattern=`^[a-z0-9]+$`
SecretNonce string `json:"sharedSecret,omitempty"`
SecretNonce string `json:"secretNonce,omitempty"`
}

// UnleashPrometheusConfig defines the prometheus configuration
Expand Down
2 changes: 1 addition & 1 deletion charts/unleasherator-crds/templates/unleash-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3090,7 +3090,7 @@ spec:
items:
type: string
type: array
sharedSecret:
secretNonce:
description: SecretNonce is the shared secret used for federation
pattern: ^[a-z0-9]+$
type: string
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/unleash.nais.io_unleashes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3138,7 +3138,7 @@ spec:
items:
type: string
type: array
sharedSecret:
secretNonce:
description: SecretNonce is the shared secret used for federation
pattern: ^[a-z0-9]+$
type: string
Expand Down

0 comments on commit 4dce844

Please sign in to comment.