Compare commits
	
		
			40 Commits
		
	
	
		
			fa6e9ea3b7
			...
			v0.7.0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 78b8d6872a | |||
| d09d09e526 | |||
| 806757a913 | |||
| d40f35a2d6 | |||
| c61bc4fc8d | |||
| cbd981cf19 | |||
| f4457a1275 | |||
| 377885f802 | |||
| 2538247718 | |||
| 361a85592e | |||
| e83b98e116 | |||
| a4ced9e4b4 | |||
| cde06aae36 | |||
| f4ee0617cc | |||
| dce6d7fb1c | |||
| f09dfc99d2 | |||
| 396e2fe9b3 | |||
| 3501cd51f3 | |||
| 78cb46795f | |||
| 48e8b21c30 | |||
| b19a3f7391 | |||
| cde425809f | |||
| 6170a12b19 | |||
| a12ce0a9e9 | |||
| 2c749e2077 | |||
| 1f2081f05c | |||
| 1d791a3820 | |||
| 7f5242eedc | |||
| ec276c088d | |||
| 1ab1c10f37 | |||
| 4deac9ab13 | |||
| 2f6c7f7f91 | |||
| d24792b8c3 | |||
| 55afb79de5 | |||
| 0fa80669cd | |||
| 38eb4e9faa | |||
| c6815721df | |||
| ff42784426 | |||
| d6e01f3c23 | |||
| 878107623e | 
							
								
								
									
										188
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										188
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -1,55 +1,155 @@
 | 
				
			|||||||
kind: pipeline
 | 
					kind: pipeline
 | 
				
			||||||
type: kubernetes
 | 
					type: kubernetes
 | 
				
			||||||
name: Container image
 | 
					name: Container & Helm chart
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					trigger:
 | 
				
			||||||
 | 
					  event:
 | 
				
			||||||
 | 
					    exclude:
 | 
				
			||||||
 | 
					    - tag
 | 
				
			||||||
 | 
					
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
- name: Build & publish (Harbor)
 | 
					- name: Semantic Release (Dry-run)
 | 
				
			||||||
  depends_on:
 | 
					  image: bv11-cr01.bessems.eu/proxy/library/node:20-slim
 | 
				
			||||||
  - clone
 | 
					  pull: always
 | 
				
			||||||
  image: plugins/docker
 | 
					 | 
				
			||||||
  context: .
 | 
					 | 
				
			||||||
  settings:
 | 
					 | 
				
			||||||
    repo: bv11-cr01.bessems.eu/library/json-server
 | 
					 | 
				
			||||||
    registry: bv11-cr01.bessems.eu
 | 
					 | 
				
			||||||
    tags: latest
 | 
					 | 
				
			||||||
    mtu: 1450
 | 
					 | 
				
			||||||
    username:
 | 
					 | 
				
			||||||
      from_secret: harbor_username
 | 
					 | 
				
			||||||
    password:
 | 
					 | 
				
			||||||
      from_secret: harbor_password
 | 
					 | 
				
			||||||
- name: Build & publish (Dockerhub)
 | 
					 | 
				
			||||||
  depends_on:
 | 
					 | 
				
			||||||
  - clone
 | 
					 | 
				
			||||||
  image: plugins/docker
 | 
					 | 
				
			||||||
  context: .
 | 
					 | 
				
			||||||
  settings:
 | 
					 | 
				
			||||||
    repo: djpbessems/json-server
 | 
					 | 
				
			||||||
    tags: latest
 | 
					 | 
				
			||||||
    mtu: 1450
 | 
					 | 
				
			||||||
    username:
 | 
					 | 
				
			||||||
      from_secret: docker_username
 | 
					 | 
				
			||||||
    password:
 | 
					 | 
				
			||||||
      from_secret: docker_password
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
---
 | 
					 | 
				
			||||||
kind: pipeline
 | 
					 | 
				
			||||||
type: kubernetes
 | 
					 | 
				
			||||||
name: Helm chart (Gitea)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
steps:
 | 
					 | 
				
			||||||
- name: Package & publish
 | 
					 | 
				
			||||||
  image: bv11-cr01.bessems.eu/proxy/alpine/helm
 | 
					 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
  - |
 | 
					  - |
 | 
				
			||||||
    apk add yq
 | 
					    apt-get update
 | 
				
			||||||
  - |
 | 
					  - |
 | 
				
			||||||
    helm package ./charts/json-server
 | 
					    apt-get install -y --no-install-recommends \
 | 
				
			||||||
 | 
					      git-core \
 | 
				
			||||||
 | 
					      ca-certificates
 | 
				
			||||||
  - |
 | 
					  - |
 | 
				
			||||||
    CHART_VERSION=$(cat ./charts/json-server/Chart.yaml | yq '.version')
 | 
					    npm install \
 | 
				
			||||||
    curl \
 | 
					      semantic-release \
 | 
				
			||||||
      --header "Authorization: token $GIT_APIKEY" \
 | 
					      @semantic-release/commit-analyzer \
 | 
				
			||||||
      --upload-file json-server-$CHART_VERSION.tgz \
 | 
					      @semantic-release/exec \
 | 
				
			||||||
      https://code.spamasaurus.com/api/packages/$GIT_USERNAME/helm/api/charts
 | 
					  - |
 | 
				
			||||||
 | 
					    export GIT_CREDENTIALS=$${GIT_USERNAME}:$${GIT_APIKEY}
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    npx semantic-release \
 | 
				
			||||||
 | 
					      --package @semantic-release/exec \
 | 
				
			||||||
 | 
					      --package semantic-release \
 | 
				
			||||||
 | 
					      --branches ${DRONE_BRANCH} \
 | 
				
			||||||
 | 
					      --tag-format "v\$${version}" \
 | 
				
			||||||
 | 
					      --dry-run \
 | 
				
			||||||
 | 
					      --plugins @semantic-release/commit-analyzer,@semantic-release/exec \
 | 
				
			||||||
 | 
					      --analyzeCommits @semantic-release/commit-analyzer \
 | 
				
			||||||
 | 
					      --verifyRelease @semantic-release/exec \
 | 
				
			||||||
 | 
					      --verifyReleaseCmd 'echo "$${nextRelease.version}" > .version'
 | 
				
			||||||
 | 
					  environment:
 | 
				
			||||||
 | 
					    GIT_APIKEY:
 | 
				
			||||||
 | 
					      from_secret: git_apikey
 | 
				
			||||||
 | 
					    GIT_USERNAME: djpbessems
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Container image (Harbor)
 | 
				
			||||||
 | 
					  depends_on:
 | 
				
			||||||
 | 
					  - Semantic Release (Dry-run)
 | 
				
			||||||
 | 
					  image: gcr.io/kaniko-project/executor:debug
 | 
				
			||||||
 | 
					  pull: always
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    export IMAGE_TAG=$(cat .version 2> /dev/null) && [ -n "$IMAGE_TAG" ] || (echo 'No release tag - exiting'; exit 0)
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    wget https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 -qO /bin/jq
 | 
				
			||||||
 | 
					    chmod +x /bin/jq
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    /bin/jq '.auths["https://bv11-cr01.bessems.eu/v2/"].auth="'"$(echo -n $HARBOR_USERNAME':'$HARBOR_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    /kaniko/executor \
 | 
				
			||||||
 | 
					      --dockerfile=Dockerfile \
 | 
				
			||||||
 | 
					      --context=dir://. \
 | 
				
			||||||
 | 
					      --destination=bv11-cr01.bessems.eu/library/json-server:latest \
 | 
				
			||||||
 | 
					      --destination=bv11-cr01.bessems.eu/library/json-server:$IMAGE_TAG
 | 
				
			||||||
 | 
					  environment:
 | 
				
			||||||
 | 
					    HARBOR_USERNAME:
 | 
				
			||||||
 | 
					      from_secret: harbor_username
 | 
				
			||||||
 | 
					    HARBOR_PASSWORD:
 | 
				
			||||||
 | 
					      from_secret: harbor_password
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Container image (docker.io)
 | 
				
			||||||
 | 
					  depends_on:
 | 
				
			||||||
 | 
					  - Semantic Release (Dry-run)
 | 
				
			||||||
 | 
					  image: gcr.io/kaniko-project/executor:debug
 | 
				
			||||||
 | 
					  pull: always
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    export IMAGE_TAG=$(cat .version 2> /dev/null) && [ -n "$IMAGE_TAG" ] || (echo 'No release tag - exiting'; exit 0)
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    wget https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 -qO /bin/jq
 | 
				
			||||||
 | 
					    chmod +x /bin/jq
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    /bin/jq '.auths["https://index.docker.io/v1/"].auth="'"$(echo -n $DOCKER_USERNAME':'$DOCKER_PASSWORD | base64)"'"' --null-input > /kaniko/.docker/config.json
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    /kaniko/executor \
 | 
				
			||||||
 | 
					      --dockerfile=Dockerfile \
 | 
				
			||||||
 | 
					      --context=dir://. \
 | 
				
			||||||
 | 
					      --destination=docker.io/djpbessems/json-server:latest \
 | 
				
			||||||
 | 
					      --destination=docker.io/djpbessems/json-server:$IMAGE_TAG
 | 
				
			||||||
 | 
					  environment:
 | 
				
			||||||
 | 
					    DOCKER_USERNAME:
 | 
				
			||||||
 | 
					      from_secret: docker_username
 | 
				
			||||||
 | 
					    DOCKER_PASSWORD:
 | 
				
			||||||
 | 
					      from_secret: docker_password
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Helm chart (Gitea)
 | 
				
			||||||
 | 
					  depends_on:
 | 
				
			||||||
 | 
					  - Semantic Release (Dry-run)
 | 
				
			||||||
 | 
					  image: bv11-cr01.bessems.eu/proxy/alpine/helm
 | 
				
			||||||
 | 
					  pull: always
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    export CHART_VERSION=$(cat .version 2> /dev/null) && [ -n "$CHART_VERSION" ] || (echo 'No release tag - exiting'; exit 0)
 | 
				
			||||||
 | 
					    sed -i 's/{{ chart_version }}/'$CHART_VERSION'/g' charts/json-server/Chart.yaml
 | 
				
			||||||
 | 
					    sed -i 's/tag: latest/tag: '$CHART_VERSION'/g' charts/json-server/values.yaml
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    helm package ./charts/json-server
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    helm plugin install https://github.com/chartmuseum/helm-push
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    helm repo add \
 | 
				
			||||||
 | 
					      --username $GIT_USERNAME \
 | 
				
			||||||
 | 
					      --password $GIT_APIKEY \
 | 
				
			||||||
 | 
					      spamasaurus \
 | 
				
			||||||
 | 
					      https://code.spamasaurus.com/api/packages/$GIT_USERNAME/helm
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    helm cm-push \
 | 
				
			||||||
 | 
					      json-server-*.tgz \
 | 
				
			||||||
 | 
					      spamasaurus
 | 
				
			||||||
 | 
					  environment:
 | 
				
			||||||
 | 
					    GIT_APIKEY:
 | 
				
			||||||
 | 
					      from_secret: git_apikey
 | 
				
			||||||
 | 
					    GIT_USERNAME: djpbessems
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Semantic Release
 | 
				
			||||||
 | 
					  depends_on:
 | 
				
			||||||
 | 
					  - Container image (Harbor)
 | 
				
			||||||
 | 
					  - Container image (docker.io)
 | 
				
			||||||
 | 
					  - Helm chart (Gitea)
 | 
				
			||||||
 | 
					  image: bv11-cr01.bessems.eu/proxy/library/node:20-slim
 | 
				
			||||||
 | 
					  pull: always
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    export VALID_TAG=$(cat .version 2> /dev/null) && [ -n "$VALID_TAG" ] || (echo 'No release tag - exiting'; exit 0)
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    apt-get update
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    apt-get install -y --no-install-recommends \
 | 
				
			||||||
 | 
					      git-core \
 | 
				
			||||||
 | 
					      ca-certificates
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    npm install \
 | 
				
			||||||
 | 
					      semantic-release \
 | 
				
			||||||
 | 
					      @semantic-release/changelog \
 | 
				
			||||||
 | 
					      @semantic-release/commit-analyzer \
 | 
				
			||||||
 | 
					      @semantic-release/git \
 | 
				
			||||||
 | 
					      @semantic-release/release-notes-generator
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    export GIT_CREDENTIALS=$${GIT_USERNAME}:$${GIT_APIKEY}
 | 
				
			||||||
 | 
					  - |
 | 
				
			||||||
 | 
					    npx semantic-release \
 | 
				
			||||||
 | 
					      --branches ${DRONE_BRANCH} \
 | 
				
			||||||
 | 
					      --tag-format "v\$${version}" \
 | 
				
			||||||
 | 
					      --plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/changelog,@semantic-release/git
 | 
				
			||||||
  environment:
 | 
					  environment:
 | 
				
			||||||
    GIT_APIKEY:
 | 
					    GIT_APIKEY:
 | 
				
			||||||
      from_secret: git_apikey
 | 
					      from_secret: git_apikey
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6
									
								
								CHANGELOG.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								CHANGELOG.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					# [0.7.0](https://code.spamasaurus.com/djpbessems/ContainerImage.JSONServer/compare/v0.6.0...v0.7.0) (2023-07-14)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Features
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* Add sidecar for continuous polling ([806757a](https://code.spamasaurus.com/djpbessems/ContainerImage.JSONServer/commit/806757a9135341d919b31d4183a84e3870c24f3f))
 | 
				
			||||||
@@ -1,6 +1,8 @@
 | 
				
			|||||||
FROM node:latest
 | 
					FROM node:lts-slim AS build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN npm install -g json-server
 | 
					RUN npm install -g --omit=optional --omit=dev \
 | 
				
			||||||
 | 
					      json-server && \
 | 
				
			||||||
 | 
					    npm cache clean --force
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY init/entrypoint.sh /opt/entrypoint.sh
 | 
					COPY init/entrypoint.sh /opt/entrypoint.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,10 +6,10 @@ type: application
 | 
				
			|||||||
# This is the chart version. This version number should be incremented each time you make changes
 | 
					# This is the chart version. This version number should be incremented each time you make changes
 | 
				
			||||||
# to the chart and its templates, including the app version.
 | 
					# to the chart and its templates, including the app version.
 | 
				
			||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
 | 
					# Versions are expected to follow Semantic Versioning (https://semver.org/)
 | 
				
			||||||
version: v0.5.2
 | 
					version: v{{ chart_version }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This is the version number of the application being deployed. This version number should be
 | 
					# This is the version number of the application being deployed. This version number should be
 | 
				
			||||||
# incremented each time you make changes to the application. Versions are not expected to
 | 
					# incremented each time you make changes to the application. Versions are not expected to
 | 
				
			||||||
# follow Semantic Versioning. They should reflect the version the application is using.
 | 
					# follow Semantic Versioning. They should reflect the version the application is using.
 | 
				
			||||||
# It is recommended to use it with quotes.
 | 
					# It is recommended to use it with quotes.
 | 
				
			||||||
appVersion: "v0.5.2"
 | 
					appVersion: "v{{ chart_version }}"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										8
									
								
								charts/json-server/templates/clusterrole.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								charts/json-server/templates/clusterrole.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					apiVersion: rbac.authorization.k8s.io/v1
 | 
				
			||||||
 | 
					kind: ClusterRole
 | 
				
			||||||
 | 
					metadata:
 | 
				
			||||||
 | 
					  name: {{ .Release.Name }}-clusterrole
 | 
				
			||||||
 | 
					rules:
 | 
				
			||||||
 | 
					- apiGroups: [""]
 | 
				
			||||||
 | 
					  resources: ["secrets"]
 | 
				
			||||||
 | 
					  verbs: ["get", "list"]
 | 
				
			||||||
							
								
								
									
										12
									
								
								charts/json-server/templates/clusterrolebinding.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								charts/json-server/templates/clusterrolebinding.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					apiVersion: rbac.authorization.k8s.io/v1
 | 
				
			||||||
 | 
					kind: ClusterRoleBinding
 | 
				
			||||||
 | 
					metadata:
 | 
				
			||||||
 | 
					  name: {{ .Release.Name }}-clusterrolebinding
 | 
				
			||||||
 | 
					subjects:
 | 
				
			||||||
 | 
					- kind: ServiceAccount
 | 
				
			||||||
 | 
					  name: {{ include "json-server.serviceAccountName" . }}
 | 
				
			||||||
 | 
					  namespace: {{ Release.Namespace }}
 | 
				
			||||||
 | 
					roleRef:
 | 
				
			||||||
 | 
					  kind: ClusterRole
 | 
				
			||||||
 | 
					  name: {{ .Release.Name }}-clusterrole
 | 
				
			||||||
 | 
					  apiGroup: rbac.authorization.k8s.io
 | 
				
			||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
{{- if not .Values.seedData.existingConfigMap }}
 | 
					{{- if not .Values.json-server.seedData.existingConfigMap }}
 | 
				
			||||||
apiVersion: v1
 | 
					apiVersion: v1
 | 
				
			||||||
kind: ConfigMap
 | 
					kind: ConfigMap
 | 
				
			||||||
metadata:
 | 
					metadata:
 | 
				
			||||||
@@ -55,5 +55,5 @@ data:
 | 
				
			|||||||
      </body>
 | 
					      </body>
 | 
				
			||||||
    </html>
 | 
					    </html>
 | 
				
			||||||
  db.json: |
 | 
					  db.json: |
 | 
				
			||||||
{{ include "common.tplvalues.render" ( dict "value" .Values.seedData.configInline "context" $) | indent 4 }}
 | 
					{{ include "common.tplvalues.render" ( dict "value" .Values.json-server.seedData.configInline "context" $) | indent 4 }}
 | 
				
			||||||
{{- end -}}
 | 
					{{- end -}}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,8 +29,8 @@ spec:
 | 
				
			|||||||
        - name: {{ .Chart.Name }}
 | 
					        - name: {{ .Chart.Name }}
 | 
				
			||||||
          securityContext:
 | 
					          securityContext:
 | 
				
			||||||
            {{- toYaml .Values.securityContext | nindent 12 }}
 | 
					            {{- toYaml .Values.securityContext | nindent 12 }}
 | 
				
			||||||
          image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
 | 
					          image: "{{ .Values.json-server.image.repository }}:{{ .Values.json-server.image.tag | default .Chart.AppVersion }}"
 | 
				
			||||||
          imagePullPolicy: {{ .Values.image.pullPolicy }}
 | 
					          imagePullPolicy: {{ .Values.json-server.image.pullPolicy }}
 | 
				
			||||||
          ports:
 | 
					          ports:
 | 
				
			||||||
            - name: http
 | 
					            - name: http
 | 
				
			||||||
              containerPort: {{ .Values.service.port }}
 | 
					              containerPort: {{ .Values.service.port }}
 | 
				
			||||||
@@ -52,6 +52,17 @@ spec:
 | 
				
			|||||||
          - name: {{ .Release.Name }}-configmap
 | 
					          - name: {{ .Release.Name }}-configmap
 | 
				
			||||||
            mountPath: /usr/local/lib/node_modules/json-server/public/index.html
 | 
					            mountPath: /usr/local/lib/node_modules/json-server/public/index.html
 | 
				
			||||||
            subPath: index.html
 | 
					            subPath: index.html
 | 
				
			||||||
 | 
					        - name: {{ .Chart.Name }}-sidecar
 | 
				
			||||||
 | 
					          securityContext:
 | 
				
			||||||
 | 
					            {{- toYaml .Values.securityContext | nindent 12 }}
 | 
				
			||||||
 | 
					          image: "{{ .Values.sidecar.image.repository }}:{{ .Values.sidecar.image.tag }}"
 | 
				
			||||||
 | 
					          imagePullPolicy: {{ .Values.sidecar.image.pullPolicy }}
 | 
				
			||||||
 | 
					          resources:
 | 
				
			||||||
 | 
					            {{- toYaml .Values.resources | nindent 12 }}
 | 
				
			||||||
 | 
					          command:
 | 
				
			||||||
 | 
					          - /bin/sh
 | 
				
			||||||
 | 
					          - -c
 | 
				
			||||||
 | 
					          - sleep infinity
 | 
				
			||||||
      volumes:
 | 
					      volumes:
 | 
				
			||||||
      - name: {{ .Release.Name }}-configmap
 | 
					      - name: {{ .Release.Name }}-configmap
 | 
				
			||||||
        configMap:
 | 
					        configMap:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,18 +1,25 @@
 | 
				
			|||||||
# Default values for json-server.
 | 
					# Default values for json-server.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
seedData:
 | 
					json-server:
 | 
				
			||||||
 | 
					  seedData:
 | 
				
			||||||
    # Not implemented yet
 | 
					    # Not implemented yet
 | 
				
			||||||
    # existingConfigMap: ""
 | 
					    # existingConfigMap: ""
 | 
				
			||||||
    configInline: {}
 | 
					    configInline: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
replicaCount: 1
 | 
					  image:
 | 
				
			||||||
 | 
					 | 
				
			||||||
image:
 | 
					 | 
				
			||||||
    repository: bv11-cr01.bessems.eu/library/json-server
 | 
					    repository: bv11-cr01.bessems.eu/library/json-server
 | 
				
			||||||
    pullPolicy: IfNotPresent
 | 
					    pullPolicy: IfNotPresent
 | 
				
			||||||
    # Overrides the image tag whose default is the chart appVersion.
 | 
					    # Overrides the image tag whose default is the chart appVersion.
 | 
				
			||||||
    tag: latest
 | 
					    tag: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sidecar:
 | 
				
			||||||
 | 
					  image:
 | 
				
			||||||
 | 
					    repository: alpine/helm
 | 
				
			||||||
 | 
					    pullPolicy: IfNotPresent
 | 
				
			||||||
 | 
					    tag: 3.12.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					replicaCount: 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
imagePullSecrets: []
 | 
					imagePullSecrets: []
 | 
				
			||||||
nameOverride: ""
 | 
					nameOverride: ""
 | 
				
			||||||
fullnameOverride: ""
 | 
					fullnameOverride: ""
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6923
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										6923
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										10
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "@semantic-release/changelog": "^6.0.3",
 | 
				
			||||||
 | 
					    "@semantic-release/commit-analyzer": "^10.0.1",
 | 
				
			||||||
 | 
					    "@semantic-release/exec": "^6.0.3",
 | 
				
			||||||
 | 
					    "@semantic-release/git": "^10.0.1",
 | 
				
			||||||
 | 
					    "@semantic-release/release-notes-generator": "^11.0.4",
 | 
				
			||||||
 | 
					    "semantic-release": "^21.0.7"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user