add namespaces to flux resources

This commit is contained in:
marcel-dempers 2023-03-11 11:17:48 +11:00
parent 000a878d7b
commit 3774090ccb
3 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: example-app-1 name: example-app-1
namespace: default
data: data:
config.json: | config.json: |
{ {

View File

@ -4,6 +4,7 @@ metadata:
name: example-app-1 name: example-app-1
labels: labels:
app: example-app-1 app: example-app-1
namespace: default
spec: spec:
selector: selector:
matchLabels: matchLabels:

View File

@ -1,6 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
namespace: default
name: example-app-1 name: example-app-1
labels: labels:
app: example-app-1 app: example-app-1