8.2. 从自定义 Red Hat Developer Hub ConfigMap 中删除 Ansible Automation Platform 和 Dev Spaces
流程
打开自定义 Red Hat Developer Hub ConfigMap,在其中为模板添加配置并连接到 Ansible Automation Platform 和 Dev Spaces。在本例中,Red Hat Developer Hub ConfigMap 名称是
app-config-rhdh
。kind: ConfigMap apiVersion: v1 metadata: name: rhdh-app-config data: app-config-custom.yaml: | ... catalog: ... locations: # Remove the YAML entry below the 'locations' YAML key - type: url target: https://github.com/ansible/ansible-rhdh-templates/blob/main/all.yaml rules: - allow: [Template] ... # Remove the entire 'ansible' YAML key and all sub-entries ansible: devSpaces: baseUrl: '<https://YOUR_DEV_SPACES_URL>' creatorService: baseUrl: '127.0.0.1' port: '8000' rhaap: baseUrl: '<https://YOUR_AAP_URL>' token: <REDACTED> checkSSL: false
-
删除 location
:
块中的url
,以从 RHDH 实例中删除模板。 -
删除
ansible:
块,以删除 Ansible 特定的配置。 - 点击 。