Skip to content
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

Add conditions to Functions #1206

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Add conditions to Functions #1206

merged 1 commit into from
Apr 29, 2024

Conversation

alexellis
Copy link
Member

Description

Add conditions to Functions

Why is this needed?

Requested by various customers for use with ArgoCD specifically.

How Has This Been Tested?

Tested with ArgoCD and FluxCD with OpenFaaS for Enterprises, with additional edge-case testing done by @welteki

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

This version of the CRD adds a Status with additional fields, take a moment to examine them, and see the docs at: https://docs.openfaas.com/openfaas-pro/function-crd/

fn.yaml Outdated Show resolved Hide resolved
In order to show when a secret etc is missing, or when the
reconciliation is complete from Function to Deployment/Service
conditions are added to the status of the Function.

Stalled = unable to fully reconcile
Ready = reconciled
Healthy = Pod available for a request

Also adds functions/status to the RBAC for the operator.

Fix description of com.openfaas.profile. Via @welteki, before
it was invalid with a slash in the annotation name.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@alexellis alexellis merged commit 8282743 into master Apr 29, 2024
7 checks passed
@alexellis alexellis deleted the function_conditions branch April 29, 2024 15:12
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.

None yet

2 participants