--- /dev/null
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj
+.vscode/
--- /dev/null
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: {{ .Chart.Name }}-deployment
+spec:
+ selector:
+ matchLabels:
+ app: {{ .Values.appLabel }}
+ replicas: {{ .Values.replicaCount }}
+ template:
+ metadata:
+ labels:
+ app: {{ .Values.appLabel }}
+ spec:
+ containers:
+ - name: aaf-cert-service
+ image: {{ .Values.repository }}/{{ .Values.image }}
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ ports:
+ - containerPort: {{ .Values.containerPort }}
+ livenessProbe:
+ httpGet:
+ port: {{ .Values.containerPort }}
+ path: {{ .Values.healthcheck.path }}
+ initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
+ periodSeconds: {{ .Values.liveness.periodSeconds }}
+ readinessProbe:
+ httpGet:
+ port: {{ .Values.containerPort }}
+ path: {{ .Values.healthcheck.path }}
+ initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
+ periodSeconds: {{ .Values.readiness.periodSeconds }}
+ resources:
+ {{ toYaml .Values.resources }}
--- /dev/null
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ .Chart.Name }}-service
+spec:
+ type: {{ .Values.service.type }}
+ selector:
+ app: {{ .Values.appLabel }}
+ ports:
+ - protocol: TCP
+ port: {{ .Values.containerPort }}
\ No newline at end of file
--- /dev/null
+appLabel: aaf-cert-service
+replicaCount: 1
+repository: nexus3.onap.org:10001
+image: onap/org.onap.aaf.certservice.aaf-certservice-api:1.0.0
+pullPolicy: Always
+containerPort: 8080
+service:
+ type: ClusterIP
+liveness:
+ initialDelaySeconds: 60
+ periodSeconds: 10
+readiness:
+ initialDelaySeconds: 30
+ periodSeconds: 10
+healthcheck:
+ path: /actuator/health
+
+resources:
+ limits:
+ cpu: 2
+ memory: 2Gi
+ requests:
+ cpu: 1
+ memory: 1Gi
\ No newline at end of file