summaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib/components/ejbca
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/contrib/components/ejbca')
-rw-r--r--kubernetes/contrib/components/ejbca/requirements.yaml3
-rw-r--r--kubernetes/contrib/components/ejbca/templates/deployment.yaml4
-rw-r--r--kubernetes/contrib/components/ejbca/values.yaml4
3 files changed, 6 insertions, 5 deletions
diff --git a/kubernetes/contrib/components/ejbca/requirements.yaml b/kubernetes/contrib/components/ejbca/requirements.yaml
index e87bc08da3..00542037af 100644
--- a/kubernetes/contrib/components/ejbca/requirements.yaml
+++ b/kubernetes/contrib/components/ejbca/requirements.yaml
@@ -23,3 +23,6 @@ dependencies:
version: ~6.x-0
repository: '@local'
condition: not global.mariadbGalera.localCluster
+ - name: repositoryGenerator
+ version: ~6.x-0
+ repository: '@local'
diff --git a/kubernetes/contrib/components/ejbca/templates/deployment.yaml b/kubernetes/contrib/components/ejbca/templates/deployment.yaml
index 55de54febf..a10b0592de 100644
--- a/kubernetes/contrib/components/ejbca/templates/deployment.yaml
+++ b/kubernetes/contrib/components/ejbca/templates/deployment.yaml
@@ -40,11 +40,11 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
+ image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
containers:
- name: {{ include "common.name" . }}-ejbca
- image: {{ .Values.ejbca.image }}
+ image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.ejbca.image }}
imagePullPolicy: {{ .Values.pullPolicy }}
lifecycle:
postStart:
diff --git a/kubernetes/contrib/components/ejbca/values.yaml b/kubernetes/contrib/components/ejbca/values.yaml
index 35160e4b13..c26bfe2fbb 100644
--- a/kubernetes/contrib/components/ejbca/values.yaml
+++ b/kubernetes/contrib/components/ejbca/values.yaml
@@ -12,8 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
global:
- readinessImage: onap/oom/readiness:3.0.1
- mariadbGalera: &mariadbGalera
+ mariadbGalera: &mariadbGalera
#This flag allows EJBCA to instantiate its own mariadb-galera cluster
localCluster: false
service: mariadb-galera
@@ -37,7 +36,6 @@ secrets:
password: '{{ .Values.config.ejbca.clientIak }}'
# application configuration
-repository: nexus3.onap.org:10001
config:
db:
userName: ejbca