-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always pass in obj with latest generation (#1187)
There were several cases where we weren't passing the correct object to the health module which caused object being determined as healthy prematurely.
- Loading branch information
Showing
5 changed files
with
106 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
apiVersion: kudo.dev/v1beta1 | ||
kind: Operator | ||
metadata: | ||
name: configmap-operator | ||
namespace: default | ||
spec: | ||
maintainers: | ||
- name: KUDO | ||
email: kudobuilder@gmail.com | ||
--- | ||
apiVersion: kudo.dev/v1beta1 | ||
kind: OperatorVersion | ||
metadata: | ||
name: configmap-operator-1.0 | ||
namespace: default | ||
spec: | ||
operator: | ||
name: configmap-operator | ||
kind: Operator | ||
version: "1.0" | ||
parameters: | ||
- name: PARAM | ||
description: "Sample parameter" | ||
default: "before" | ||
templates: | ||
configmap.yaml: | | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: test-configmap | ||
data: | ||
foo: bar-{{ .Params.PARAM }} | ||
tasks: | ||
- name: deploy | ||
kind: Apply | ||
spec: | ||
resources: | ||
- configmap.yaml | ||
plans: | ||
deploy: | ||
strategy: serial | ||
phases: | ||
- name: deploy | ||
strategy: parallel | ||
steps: | ||
- name: deploy | ||
tasks: | ||
- deploy |