Added cluster variables for flux substitutions
This commit is contained in:
16
patches/cluster-variables.yaml
Normal file
16
patches/cluster-variables.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
cluster:
|
||||
inlineManifests:
|
||||
- name: cluster-variables
|
||||
contents: |
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: flux-system
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: cluster-variables
|
||||
namespace: flux-system
|
||||
data:
|
||||
cluster_env: {%- if node.cluster.production %} production {%- else %} staging {%- endif %}
|
||||
Reference in New Issue
Block a user