shalb / cluster.dev

Cloud-native infrastructure templating. Creating cloud installers for SaaS. Replication of complex cloud-native infrastructures.
https://docs.cluster.dev/
GNU Affero General Public License v3.0
401 stars 36 forks source link

cdev plan show <default namespace> instead of namespace #209

Closed romanprog closed 10 months ago

romanprog commented 1 year ago

cdev version v0.7.16 build timestamp: 2023-06-28T14:11:18+0300

unit:

  -
    name: mongodb-backups-sa
    type: k8s-manifest
    apply_template: true
    kubeconfig: {{ .variables.kubeconfig_path }}
    namespace: {{ .variables.namespace }}
    path: ./files/mongodb-backups-sa.yaml

manifest:

apiVersion: v1
automountServiceAccountToken: true
kind: ServiceAccount
metadata:
  annotations:
    eks.amazonaws.com/role-arn: {{ remoteState "this.mongodb-backups-role.iam_role_arn" }}
  name: mongodb-backups

problem (not fatal, only error in plan):

13:30:46 [INFO] Planning unit 'persistent.mongodb-backups-sa':
 {
+ manifests: {
+  ServiceAccount.<default namespace>.mongodb-backups: {
+   apiVersion: "v1",
romanprog commented 10 months ago

https://github.com/shalb/cluster.dev/pull/245