Skip to content

Add support for operations #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 7, 2025
Merged

Conversation

negz
Copy link
Member

@negz negz commented Aug 7, 2025

Description of your changes

I want to get this working to test crossplane/docs#956.

Tested with crossplane/crossplane#6695:

$ crossplane alpha render op example/operation/operation.yaml example/operation/functions.yaml --required-resources example/operation/ingress.yaml -r
---
apiVersion: ops.crossplane.io/v1alpha1
kind: Operation
metadata:
  creationTimestamp: null
  name: check-cert-expiry
status:
  appliedResourceRefs:
  - apiVersion: networking.k8s.io/v1
    kind: Ingress
    name: example-ingress
    namespace: default
  pipeline:
  - output:
      certificateExpires: Sep 29 08:34:02 2025 GMT
      daysUntilExpiry: 53
      hostname: google.com
      status: ok
    step: check-certificate
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    cert-monitor.crossplane.io/days-until-expiry: "53"
    cert-monitor.crossplane.io/expires: Sep 29 08:34:02 2025 GMT
    cert-monitor.crossplane.io/status: ok
  name: example-ingress
  namespace: default

I have:

negz added 2 commits August 6, 2025 20:36
RIP beta render.

Signed-off-by: Nic Cope <[email protected]>
@negz negz marked this pull request as ready for review August 7, 2025 05:24
@negz negz merged commit 313ddd4 into crossplane-contrib:main Aug 7, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant