Skip to content
Ankit152 edited this page Nov 18, 2022 · 2 revisions

Problematic Configuration

1. Atleast one of the Additional Catalog Source is not unique and repeating

# addon.yaml
additionalCatalogSources:
- image: <additionalCatalogSource image>
  name: redhat-operators-acs-test1
- image: <additionalCatalogSource image>
  name: redhat-operators-acs-test2
- image: <additionalCatalogSource image>
  name: redhat-operator-acs-test1
...

2. Atleast one of the Secrets is not unique and repeating

# addon.yaml
secrets:
- fields: <list of fields>
  name: test-secret-1
  type: <secret type>
  vaultPath: <vault path>
  version: <secret version>
- fields: <list of fields>
  name: test-secret-2
  type: <secret type>
  vaultPath: <vault path>
  version: <secret version>
- fields: <list of fields>
  name: test-secret-2
  type: <secret type>
  vaultPath: <vault path>
  version: <secret version>
...

3. Atleast one of the Credential Requests is not unique and repeating

# addon.yaml
credentialsRequests:
- name: test-credential-request-name-1
  namespace: <namespace where the credentials secret lives in the cluster>
  service_account: <service account name for authenticating>
  policy_permissions: <list of policy permissions>
- name: test-credential-request-name-2
  namespace: <namespace where the credentials secret lives in the cluster>
  service_account: <service account name for authenticating>
  policy_permissions: <list of policy permissions>
- name: test-credential-request-name-1
  namespace: <namespace where the credentials secret lives in the cluster>
  service_account: <service account name for authenticating>
  policy_permissions: <list of policy permissions>
...

Correct Configuration

1. All the Additional Catalog Source are unique

# addon.yaml
additionalCatalogSources:
- image: <additionalCatalogSource image>
  name: redhat-operators-acs-test1
- image: <additionalCatalogSource image>
  name: redhat-operators-acs-test2
- image: <additionalCatalogSource image>
  name: redhat-operator-acs-test3
...

2. All the Secrets are unique

# addon.yaml
secrets:
- fields: <list of fields>
  name: test-secret-1
  type: <secret type>
  vaultPath: <vault path>
  version: <secret version>
- fields: <list of fields>
  name: test-secret-2
  type: <secret type>
  vaultPath: <vault path>
  version: <secret version>
- fields: <list of fields>
  name: test-secret-3
  type: <secret type>
  vaultPath: <vault path>
  version: <secret version>
...

3. All the Credential Requests are unique

# addon.yaml
credentialsRequests:
- name: test-credential-request-name-1
  namespace: <namespace where the credentials secret lives in the cluster>
  service_account: <service account name for authenticating>
  policy_permissions: <list of policy permissions>
- name: test-credential-request-name-2
  namespace: <namespace where the credentials secret lives in the cluster>
  service_account: <service account name for authenticating>
  policy_permissions: <list of policy permissions>
- name: test-credential-request-name-3
  namespace: <namespace where the credentials secret lives in the cluster>
  service_account: <service account name for authenticating>
  policy_permissions: <list of policy permissions>
...
  • Additional Catalog Sources are unique
  • Secrets are unique
  • Credential Requests are unique
Clone this wiki locally