Skip to content

Commit

Permalink
Add templates for flux example
Browse files Browse the repository at this point in the history
  • Loading branch information
matrus2 committed Jun 23, 2023
1 parent 1a1ad9b commit 8b9625c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/third_party_integration/flux/template/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-app
namespace: hello-world
spec:
replicas: 1
selector:
matchLabels:
app: hello-app
template:
metadata:
labels:
app: hello-app
spec:
containers:
- name: hello-app
image: matrus2hub/go-hello-world@sha256:2c4bd6771dbb88db8d8294245d2937f797ff30708d0647aec564e8cd7851c2b5
ports:
- containerPort: 8888
6 changes: 6 additions & 0 deletions examples/third_party_integration/flux/template/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: hello-world


13 changes: 13 additions & 0 deletions examples/third_party_integration/flux/template/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: hello
namespace: hello-world
spec:
selector:
app: hello-app
ports:
- protocol: TCP
port: 80
targetPort: 8888

0 comments on commit 8b9625c

Please sign in to comment.