To separate, use different configuration of secrets and resources you can use namespace in Kubernetes and we can choose two different ways to create a namespace
-- Creating a namespace in command line
kubectl apply -f file.yaml --namespace=my-namespace
-- Creating a namespace inside yaml file
apiVersion: v1
kind: ConfigMap
metadata:
name: name-configmap
namespace: my-namespace
-- or creating a namespace
apiVersion: v1
kind: Namespace
metadata:
name: <insert-namespace-name-here>