Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 2173742 - Remove null oadp images and use apply for DPA creation … #872

Merged
merged 1 commit into from Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/migrationcontroller/tasks/main.yml
Expand Up @@ -220,7 +220,7 @@
k8s:
state: "{{ velero_state }}"
definition: "{{ lookup('template', 'velero.yml.j2') }}"
merge_type: merge
apply: true

- name: "Set up rsync-anyuid SCC"
k8s:
Expand Down
14 changes: 0 additions & 14 deletions roles/migrationcontroller/templates/velero.yml.j2
Expand Up @@ -9,40 +9,26 @@ spec:
operator-type: mtc
{% if oadp_velero_image_fqin is defined %}
veleroImageFqin: "{{ oadp_velero_image_fqin }}"
{% else %}
veleroImageFqin: null
{% endif %}
{% if oadp_openshift_plugin_fqin is defined %}
openshiftPluginImageFqin: "{{ oadp_openshift_plugin_fqin }}"
{% else %}
openshiftPluginImageFqin: null
{% endif %}
{% if oadp_restic_restore_helper_fqin is defined %}
resticRestoreImageFqin: "{{ oadp_restic_restore_helper_fqin }}"
{% else %}
resticRestoreImageFqin: null
{% endif %}
{% if oadp_aws_plugin_fqin is defined %}
awsPluginImageFqin: "{{ oadp_aws_plugin_fqin }}"
{% else %}
awsPluginImageFqin: null
{% endif %}
{% if oadp_azure_plugin_fqin is defined %}
azurePluginImageFqin: "{{ oadp_azure_plugin_fqin }}"
{% else %}
azurePluginImageFqin: null
{% endif %}
{% if oadp_gcp_plugin_fqin is defined %}
gcpPluginImageFqin: "{{ oadp_gcp_plugin_fqin }}"
{% else %}
gcpPluginImageFqin: null
{% endif %}
configuration:
velero:
{% if velero_log_level is defined %}
logLevel: "{{ velero_log_level }}"
{% else %}
logLevel: null
{% endif %}
defaultPlugins:
- openshift
Expand Down