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

Bootstrap Application Controller #9

Closed
7 tasks
Tracked by #14
thisthat opened this issue Sep 6, 2022 · 0 comments · Fixed by #137
Closed
7 tasks
Tracked by #14

Bootstrap Application Controller #9

thisthat opened this issue Sep 6, 2022 · 0 comments · Fixed by #137
Assignees

Comments

@thisthat
Copy link
Member

thisthat commented Sep 6, 2022

Goal

Create the skeleton for the Keptn Application Controller inside the Keptn Operator and define the Keptn Application CRD.

Technical Details

The operator implemented in #2 shall be extended with support to control Keptn Application CRDs.

Draft example of the CRD to monitor:

apiVersion: keptn.sh/v1
kind: KeptnApplication
metadata:
  name: my-super-cool-application
spec:
  services:
    - name: infrastructure
      version: 4.0
    - name: service-1
      version: 1.0
    - name: service-2
      version: 2.0
      depends:
        - type: service
          name: service-1
          version: 1.0
        - type: service
          name: infrastructure
          version: 4.0
  pre-deployment:
    - sh.keptn.event.pre-deployment-test.triggered
  post-deployment:
    - sh.keptn.event.post-deployment-test.triggered

Acceptance Criteria

  • The operator monitor Application CRDs
  • The operator tracks information about the pre-deployment status: pending, running, success/failure
  • The CRD definition is documented in the README
  • Emit K8s events when the pre-deployment of the Application starts and finishes.

DoD

  • The Application CRD format is documented in the README
  • The Operator controls Application CRDs
  • Events are visible in the K8s event stream

Dependencies

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 a pull request may close this issue.

5 participants