Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
EronWright committed Sep 27, 2024
1 parent 0d536b0 commit fb5b455
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions operator/examples/random-yaml/program.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: pulumi.com/v1
kind: Program
metadata:
name: random-yaml
program:
resources:
randomPassword:
type: random:RandomPassword
properties:
length: 16
special: true
overrideSpecial: "_%@"

outputs:
password: ${randomPassword.result}
2 changes: 1 addition & 1 deletion operator/internal/controller/pulumi/program_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (r *ProgramReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct
// Update the status of the Program object.
log.Info("Updating Program status")
if err := r.Status().Update(ctx, program, client.FieldOwner(FieldManager)); err != nil {
log.Error(err, "unable to update Program status", req.NamespacedName.MarshalLog())
log.Error(err, "unable to update Program status")
return ctrl.Result{}, err
}

Expand Down

0 comments on commit fb5b455

Please sign in to comment.