-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional k8s container fields (#16)
* Add envFrom as a reference * Add readiness and liveness probes to Spinnaker JSON * Bump version to 0.0.11 * Add quick test for probe conversion
- Loading branch information
1 parent
5f4d68a
commit a827357
Showing
7 changed files
with
222 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: example | ||
namespace: fake-namespace | ||
annotations: | ||
fake-annotation-1: "Hello" | ||
fake-annotation-2: "World" | ||
spec: | ||
template: | ||
metadata: | ||
labels: | ||
app: example | ||
annotations: | ||
test: "annotations" | ||
spec: | ||
containers: | ||
- name: test-container | ||
command: | ||
- echo | ||
- hello | ||
envFrom: | ||
- configMapRef: | ||
name: dummy-ref | ||
prefix: some-prefix |
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,27 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: example | ||
namespace: fake-namespace | ||
annotations: | ||
fake-annotation-1: "Hello" | ||
fake-annotation-2: "World" | ||
spec: | ||
template: | ||
metadata: | ||
labels: | ||
app: example | ||
annotations: | ||
test: "annotations" | ||
spec: | ||
containers: | ||
- name: test-container | ||
command: | ||
- echo | ||
- hello | ||
livenessProbe: | ||
exec: | ||
command: ["say", "hello"] | ||
readinessProbe: | ||
exec: | ||
command: ["say", "hello"] |
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