Skip to content

Commit 4a847ba

Browse files
authored
Merge pull request #190 from lmilleri/fix-typo-replicas-config
Fix typo for trustee replicas configuration
2 parents 9ac7eef + 13b576b commit 4a847ba

File tree

6 files changed

+22
-19
lines changed

6 files changed

+22
-19
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type KbsConfigSpec struct {
7474
kbsLocalCertCacheSpec kbsLocalCertCacheSpec `json:"kbsLocalCertCacheSpec,omitempty"`
7575

7676
// KbsDeploymentSpec is the struct for trustee deployment options
77-
KbsDeploymentSpec KbsDeploymentSpec `json:"KksDeploymentSpec,omitempty"`
77+
KbsDeploymentSpec KbsDeploymentSpec `json:"KbsDeploymentSpec,omitempty"`
7878
}
7979

8080
// IbmSEConfigSpec defines the desired state for IBMSE configuration

api/v1alpha1/kbsconfig_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ type KbsConfigSpec struct {
141141
KbsLocalCertCacheSpec KbsLocalCertCacheSpec `json:"kbsLocalCertCacheSpec,omitempty"`
142142

143143
// KbsDeploymentSpec is the struct for trustee deployment options
144-
KbsDeploymentSpec KbsDeploymentSpec `json:"KksDeploymentSpec,omitempty"`
144+
KbsDeploymentSpec KbsDeploymentSpec `json:"KbsDeploymentSpec,omitempty"`
145145
}
146146

147147
// KbsConfigStatus defines the observed state of KbsConfig

bundle/manifests/confidentialcontainers.org_kbsconfigs.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,7 @@ spec:
3939
spec:
4040
description: KbsConfigSpec defines the desired state of KbsConfig
4141
properties:
42-
KbsEnvVars:
43-
additionalProperties:
44-
type: string
45-
description: |-
46-
KbsEnvVars injects environment variables in the trustee pods
47-
For example, RUST_LOG=debug enables logging with DEBUG severity
48-
type: object
49-
KksDeploymentSpec:
42+
KbsDeploymentSpec:
5043
description: KbsDeploymentSpec is the struct for trustee deployment
5144
options
5245
properties:
@@ -57,6 +50,13 @@ spec:
5750
format: int32
5851
type: integer
5952
type: object
53+
KbsEnvVars:
54+
additionalProperties:
55+
type: string
56+
description: |-
57+
KbsEnvVars injects environment variables in the trustee pods
58+
For example, RUST_LOG=debug enables logging with DEBUG severity
59+
type: object
6060
ibmSEConfigSpec:
6161
description: IbmSEConfigSpec is the struct that hosts the IBMSE specific
6262
configuration

config/crd/bases/confidentialcontainers.org_kbsconfigs.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,7 @@ spec:
3939
spec:
4040
description: KbsConfigSpec defines the desired state of KbsConfig
4141
properties:
42-
KbsEnvVars:
43-
additionalProperties:
44-
type: string
45-
description: |-
46-
KbsEnvVars injects environment variables in the trustee pods
47-
For example, RUST_LOG=debug enables logging with DEBUG severity
48-
type: object
49-
KksDeploymentSpec:
42+
KbsDeploymentSpec:
5043
description: KbsDeploymentSpec is the struct for trustee deployment
5144
options
5245
properties:
@@ -57,6 +50,13 @@ spec:
5750
format: int32
5851
type: integer
5952
type: object
53+
KbsEnvVars:
54+
additionalProperties:
55+
type: string
56+
description: |-
57+
KbsEnvVars injects environment variables in the trustee pods
58+
For example, RUST_LOG=debug enables logging with DEBUG severity
59+
type: object
6060
ibmSEConfigSpec:
6161
description: IbmSEConfigSpec is the struct that hosts the IBMSE specific
6262
configuration

tests/e2e/sample-attester/08-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: trustee-deployment
55
namespace: trustee-operator-system
66
status:
7-
readyReplicas: 1
7+
readyReplicas: 2

tests/e2e/sample-attester/08-kbsconfig_sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ spec:
2323
kbsLocalCertCacheSpec:
2424
secretName: vcek-secret
2525
mountPath: "/etc/kbs/snp/ek"
26+
KbsDeploymentSpec:
27+
replicas: 2
28+

0 commit comments

Comments
 (0)