Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: {{ $packageName }}-dependency
spec:
cloudCredentialsRef:
# TODO(scaffolding): Use openstack-admin if the resouce needs admin credentials to be created
# TODO(scaffolding): Use openstack-admin if the resource needs admin credentials to be created
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I noticed this typo is present in more files. I have another PR in preparation for fixes to the scaffolding tool, I'll fix the rest in my PR.

cloudName: openstack
secretName: openstack-clouds
managementPolicy: managed
Expand All @@ -25,7 +25,7 @@ metadata:
name: {{ $packageName }}-dependency-no-{{ . | lower }}
spec:
cloudCredentialsRef:
# TODO(scaffolding): Use openstack-admin if the resouce needs admin credentials to be created
# TODO(scaffolding): Use openstack-admin if the resource needs admin credentials to be created
cloudName: openstack
secretName: openstack-clouds
managementPolicy: managed
Expand All @@ -37,17 +37,17 @@ spec:
{{ . | camelCase }}Ref: {{ $packageName }}-dependency
{{- end }}
# TODO(scaffolding): Add the necessary fields to create the resource
{{- end }}
{{- end }}
{{- range .OptionalCreateDependencies }}
{{ end -}}
{{ end -}}
{{ range .OptionalCreateDependencies -}}
---
apiVersion: openstack.k-orc.cloud/v1alpha1
kind: {{ $kind }}
metadata:
name: {{ $packageName }}-dependency-no-{{ . | lower }}
spec:
cloudCredentialsRef:
# TODO(scaffolding): Use openstack-admin if the resouce needs admin credentials to be created
# TODO(scaffolding): Use openstack-admin if the resource needs admin credentials to be created
cloudName: openstack
secretName: openstack-clouds
managementPolicy: managed
Expand All @@ -65,7 +65,7 @@ metadata:
name: {{ .PackageName }}-dependency-no-secret
spec:
cloudCredentialsRef:
# TODO(scaffolding): Use openstack-admin if the resouce needs admin credentials to be created
# TODO(scaffolding): Use openstack-admin if the resource needs admin credentials to be created
cloudName: openstack
secretName: {{ .PackageName }}-dependency
managementPolicy: managed
Expand Down