Skip to content

Commit

Permalink
Merge pull request #992 from equinor/master
Browse files Browse the repository at this point in the history
release Added json attribute to object properies (#991)
  • Loading branch information
satr authored Nov 29, 2023
2 parents 42a261e + 89959b3 commit b6b0791
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions charts/radix-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: radix-operator
version: 1.25.6
appVersion: 1.45.6
version: 1.25.7
appVersion: 1.45.7
kubeVersion: ">=1.24.0"
description: Radix Operator
keywords:
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/deployment/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

// IngressConfiguration Holds all ingress annotation configurations
type IngressConfiguration struct {
AnnotationConfigurations []AnnotationConfiguration `yaml:"configuration"`
AnnotationConfigurations []AnnotationConfiguration `json:"configuration" yaml:"configuration"`
}

// AnnotationConfiguration Holds annotations for a single configuration
Expand Down
12 changes: 6 additions & 6 deletions pkg/apis/kube/secret_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ type stringArray struct {
// SecretProviderClassParameterObject Object for SecretProviderClass parameters
type SecretProviderClassParameterObject struct {
// Name. Name of the Azure Key Vault object
Name string `yaml:"objectName"`
Name string `json:"objectName" yaml:"objectName"`
// Type. Type of the Azure KeyVault object: secret, key, cert
Type string `yaml:"objectType"`
Type string `json:"objectType" yaml:"objectType"`
// Alias. Optional. Specify the filename of the object when written to disk. Defaults to objectName if not provided.
Alias string `yaml:"objectAlias,omitempty"`
Alias string `json:"objectAlias,omitempty" yaml:"objectAlias,omitempty"`
// Version. Optional. object versions, default to the latest if empty
Version string `yaml:"objectVersion,omitempty"`
Version string `json:"objectVersion,omitempty" yaml:"objectVersion,omitempty"`
// Format. Optional. The format of the Azure Key Vault object, supported types are pem and pfx. objectFormat: pfx is only supported with objectType: secret and PKCS12 or ECC certificates. Default format for certificates is pem.
Format string `yaml:"objectFormat,omitempty"`
Format string `json:"objectFormat,omitempty" yaml:"objectFormat,omitempty"`
// Encoding. Optional. Setting object encoding to base64 and object format to pfx will fetch and write the base64 decoded pfx binary
Encoding string `yaml:"objectEncoding,omitempty"`
Encoding string `json:"objectEncoding,omitempty" yaml:"objectEncoding,omitempty"`
}

// GetSecretProviderClass Gets secret provider class
Expand Down

0 comments on commit b6b0791

Please sign in to comment.