Skip to content

Commit

Permalink
update jobsink TLS comments (#8215)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew authored Oct 2, 2024
1 parent c8c1f41 commit b3b29f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/reconciler/jobsink/jobsink.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (r *Reconciler) ReconcileKind(ctx context.Context, js *sinks.JobSink) recon
}

func (r *Reconciler) getCaCerts() (*string, error) {
// Getting the secret called "imc-dispatcher-tls" from system namespace
// Getting the secret called "job-sink-server-tls" from system namespace
secret, err := r.secretLister.Secrets(r.systemNamespace).Get(eventingtls.JobSinkDispatcherServerTLSSecretName)
if err != nil {
return nil, fmt.Errorf("failed to get CA certs from %s/%s: %w", r.systemNamespace, eventingtls.JobSinkDispatcherServerTLSSecretName, err)
Expand Down Expand Up @@ -119,7 +119,7 @@ func (r *Reconciler) reconcileAddress(ctx context.Context, js *sinks.JobSink) er
js.Status.Addresses[i].Audience = &audience
}
} else {
logging.FromContext(ctx).Debug("Clearing the imc audience as OIDC is not enabled")
logging.FromContext(ctx).Debug("Clearing the JobSink audience as OIDC is not enabled")
js.Status.Address.Audience = nil
for i := range js.Status.Addresses {
js.Status.Addresses[i].Audience = nil
Expand Down

0 comments on commit b3b29f0

Please sign in to comment.