-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Erez Freiberger
committed
Jul 18, 2017
1 parent
651a0d0
commit 98c29af
Showing
3 changed files
with
60 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
app/models/manageiq/providers/kubernetes/container_manager/options.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
module ManageIQ::Providers::Kubernetes::ContainerManager::Options | ||
extend ActiveSupport::Concern | ||
|
||
def settings_options | ||
{ | ||
:image_inspector_options => { | ||
:http_proxy => { | ||
:label => N_('HTTP Proxy'), | ||
:help_text => N_('HTTP Proxy to connect image inspector pods to the internet'), | ||
}, | ||
:https_proxy => { | ||
:label => N_('HTTPS Proxy'), | ||
:help_text => N_('HTTPS Proxy to connect image inspector pods to the internet'), | ||
}, | ||
:no_proxy => { | ||
:label => N_('NO Proxy'), | ||
:help_text => N_('NO Proxy lists urls that should\'nt be sent to any proxy'), | ||
}, | ||
:repository => { | ||
:label => N_('Image-Inspector Repository'), | ||
:help_text => N_('Image-Inspector Repository'), | ||
:global_default => Settings.ems.ems_kubernetes.image_inspector_repository, | ||
}, | ||
:registry => { | ||
:label => N_('Image-Inspector Registry'), | ||
:help_text => N_('Registry to provide the image inspector repository'), | ||
:global_default => Settings.ems.ems_kubernetes.image_inspector_registry, | ||
}, | ||
:image_tag => { | ||
:label => N_('Image-Inspector Tag'), | ||
:help_text => N_('Image-Inspector image tag'), | ||
:global_default => ManageIQ::Providers::Kubernetes::ContainerManager::Scanning::Job::INSPECTOR_IMAGE_TAG, | ||
}, | ||
:cve_url => { | ||
:label => N_('CVE location'), | ||
:help_text => N_('Enables defining a URL for XCCDF file instead of accessing the Internet'), | ||
}, | ||
} | ||
} | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters