add service account parameter to ocp template
@@ -61,6 +61,8 @@ objects:
app: apicurio-registry
template: multitenant-apicurio-registry
spec:
+ serviceAccount: ${SERVICE_ACCOUNT_NAME}
+ serviceAccountName: ${SERVICE_ACCOUNT_NAME}
containers:
- name: apicurio-registry
image: ${IMAGE_REGISTRY}/${APICURIO_REGISTRY_IMAGE_REPOSITORY}:${APICURIO_REGISTRY_IMAGE_TAG}
@@ -218,6 +220,10 @@ objects:
parameters:
+- name: SERVICE_ACCOUNT_NAME
+ displayName: Service Account to use for the deployment
+ required: true
+
- name: REPLICAS
description: Number of replicas of the service to run.
value: "3"
