Closed adrian-gierakowski closed 1 year ago
Here's yaml file generated by the example code:
apiVersion: v1 kind: Namespace metadata: annotations: kubenix/k8s-version: '1.24' kubenix/project-name: multi-namespace-example labels: kubenix/module-name: namespaced kubenix/module-version: 1.0.0 name: namespace-http namespace: namespace-http --- apiVersion: v1 kind: Namespace metadata: annotations: kubenix/k8s-version: '1.26' kubenix/project-name: multi-namespace-example labels: kubenix/module-name: namespaced kubenix/module-version: 1.0.0 name: namespace-https namespace: namespace-https --- apiVersion: v1 kind: Service metadata: annotations: kubenix/k8s-version: '1.24' kubenix/project-name: multi-namespace-example name: nginx namespace: default spec: selector: app: nginx-default --- apiVersion: v1 kind: Service metadata: annotations: kubenix/k8s-version: '1.24' kubenix/project-name: multi-namespace-example labels: kubenix/module-name: namespaced kubenix/module-version: 1.0.0 name: nginx namespace: namespace-http spec: ports: - name: http port: 80 selector: app: nginx --- apiVersion: v1 kind: Service metadata: annotations: kubenix/k8s-version: '1.26' kubenix/project-name: multi-namespace-example labels: kubenix/module-name: namespaced kubenix/module-version: 1.0.0 name: nginx namespace: namespace-https spec: ports: - name: https port: 443 selector: app: nginx
Wicked -- thanks for putting this together! I've been meaning to test submodules as a potential replacement for a generic helm library chart.
Here's yaml file generated by the example code: