Skip to content

Commit

Permalink
updates2: reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
fghanmi committed Sep 13, 2024
1 parent 8dbe2e2 commit cde3b03
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions bundle/manifests/rhtas.redhat.com_ctlogs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,20 @@ spec:
description: The ID of a Trillian tree that stores the log data.
format: int64
type: number
trustedCA:
description: |-
LocalObjectReference contains enough information to let you locate the
referenced object inside the same namespace.
properties:
name:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
type: string
required:
- name
type: object
x-kubernetes-map-type: atomic
type: object
type: object
served: true
Expand Down
14 changes: 14 additions & 0 deletions config/crd/bases/rhtas.redhat.com_ctlogs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,20 @@ spec:
description: The ID of a Trillian tree that stores the log data.
format: int64
type: number
trustedCA:
description: |-
LocalObjectReference contains enough information to let you locate the
referenced object inside the same namespace.
properties:
name:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
type: string
required:
- name
type: object
x-kubernetes-map-type: atomic
type: object
type: object
served: true
Expand Down
1 change: 1 addition & 0 deletions internal/controller/ctlog/actions/create_tree_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func (i createTreeJobAction) Handle(ctx context.Context, instance *rhtasv1alpha1
if updated {
meta.SetStatusCondition(&instance.Status.Conditions, metav1.Condition{Type: CtlogTreeJobName,
Status: metav1.ConditionFalse, Reason: constants.Creating, Message: "ConfigMap created"})
i.Recorder.Event(instance, corev1.EventTypeNormal, "ConfigMapCreated", "New ConfigMap created")
}

parallelism := int32(1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func (i createTreeJobAction) Handle(ctx context.Context, instance *rhtasv1alpha1
if updated {
meta.SetStatusCondition(&instance.Status.Conditions, metav1.Condition{Type: constants.Ready,
Status: metav1.ConditionFalse, Reason: constants.Creating, Message: "ConfigMap created"})
i.Recorder.Event(instance, corev1.EventTypeNormal, "ConfigMapCreated", "New ConfigMap created")
}

parallelism := int32(1)
Expand Down

0 comments on commit cde3b03

Please sign in to comment.