upgrade develop to v0.18.6

This commit is contained in:
theguy951357 2023-03-30 15:08:24 -04:00
parent 9f5e9c1ef5
commit bc6235f096
13 changed files with 14 additions and 13 deletions

View file

@ -31,6 +31,7 @@ body:
label: Version label: Version
description: What version are you running? description: What version are you running?
options: options:
- v0.18.6
- v0.18.5 - v0.18.5
- v0.18.4 - v0.18.4
- v0.18.3 - v0.18.3

View file

@ -17,7 +17,7 @@
<p align="center"> <p align="center">
<a href="https://github.com/gravitl/netmaker/releases"> <a href="https://github.com/gravitl/netmaker/releases">
<img src="https://img.shields.io/badge/Version-0.18.5-informational?style=flat-square" /> <img src="https://img.shields.io/badge/Version--informational?style=flat-square" />
</a> </a>
<a href="https://hub.docker.com/r/gravitl/netmaker/tags"> <a href="https://hub.docker.com/r/gravitl/netmaker/tags">
<img src="https://img.shields.io/docker/pulls/gravitl/netmaker?label=downloads" /> <img src="https://img.shields.io/docker/pulls/gravitl/netmaker?label=downloads" />

View file

@ -3,7 +3,7 @@ version: "3.4"
services: services:
netmaker: netmaker:
container_name: netmaker container_name: netmaker
image: gravitl/netmaker:v0.18.5 image: gravitl/netmaker:v
restart: always restart: always
volumes: volumes:
- dnsconfig:/root/config/dnsconfig - dnsconfig:/root/config/dnsconfig

View file

@ -3,7 +3,7 @@ version: "3.4"
services: services:
netclient: netclient:
container_name: netclient container_name: netclient
image: 'gravitl/netclient:v0.18.5' image: 'gravitl/netclient:v0.18.6'
hostname: netmaker-1 hostname: netmaker-1
network_mode: host network_mode: host
restart: always restart: always

View file

@ -10,7 +10,7 @@
// //
// Schemes: https // Schemes: https
// BasePath: / // BasePath: /
// Version: 0.18.5 // Version:
// Host: netmaker.io // Host: netmaker.io
// //
// Consumes: // Consumes:

View file

@ -16,7 +16,7 @@ spec:
hostNetwork: true hostNetwork: true
containers: containers:
- name: netclient - name: netclient
image: gravitl/netclient:v0.18.5 image: gravitl/netclient:v
env: env:
- name: TOKEN - name: TOKEN
value: "TOKEN_VALUE" value: "TOKEN_VALUE"

View file

@ -28,7 +28,7 @@ spec:
# - "<node label value>" # - "<node label value>"
containers: containers:
- name: netclient - name: netclient
image: gravitl/netclient:v0.18.5 image: gravitl/netclient:v
env: env:
- name: TOKEN - name: TOKEN
value: "TOKEN_VALUE" value: "TOKEN_VALUE"

View file

@ -79,7 +79,7 @@ spec:
value: "Kubernetes" value: "Kubernetes"
- name: VERBOSITY - name: VERBOSITY
value: "3" value: "3"
image: gravitl/netmaker:v0.18.5 image: gravitl/netmaker:v
imagePullPolicy: Always imagePullPolicy: Always
name: netmaker name: netmaker
ports: ports:

View file

@ -15,7 +15,7 @@ spec:
spec: spec:
containers: containers:
- name: netmaker-ui - name: netmaker-ui
image: gravitl/netmaker-ui:v0.18.5 image: gravitl/netmaker-ui:v
ports: ports:
- containerPort: 443 - containerPort: 443
env: env:

View file

@ -27,7 +27,7 @@ import (
stunserver "github.com/gravitl/netmaker/stun-server" stunserver "github.com/gravitl/netmaker/stun-server"
) )
var version = "v0.18.5" var version = "v"
// Start DB Connection and start API Request Handler // Start DB Connection and start API Request Handler
func main() { func main() {

View file

@ -1,4 +1,4 @@
# Netmaker v0.18.5 # Netmaker v
## **Wait till out of pre-release to fully upgrade** ## **Wait till out of pre-release to fully upgrade**

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
LATEST="v0.18.5" LATEST="v"
# check_version - make sure current version is 0.17.1 before continuing # check_version - make sure current version is 0.17.1 before continuing
check_version() { check_version() {
@ -351,7 +351,7 @@ set_compose() {
STUN_PORT=3478 STUN_PORT=3478
# RELEASE_REPLACE - Use this once release is ready # RELEASE_REPLACE - Use this once release is ready
#sed -i "s/v0.17.1/v0.18.5/g" /root/docker-compose.yml #sed -i "s/v0.17.1/v/g" /root/docker-compose.yml
yq ".services.netmaker.environment.SERVER_NAME = \"$SERVER_NAME\"" -i /root/docker-compose.yml yq ".services.netmaker.environment.SERVER_NAME = \"$SERVER_NAME\"" -i /root/docker-compose.yml
yq ".services.netmaker.environment += {\"BROKER_ENDPOINT\": \"wss://$BROKER_NAME\"}" -i /root/docker-compose.yml yq ".services.netmaker.environment += {\"BROKER_ENDPOINT\": \"wss://$BROKER_NAME\"}" -i /root/docker-compose.yml
yq ".services.netmaker.environment += {\"SERVER_BROKER_ENDPOINT\": \"ws://mq:1883\"}" -i /root/docker-compose.yml yq ".services.netmaker.environment += {\"SERVER_BROKER_ENDPOINT\": \"ws://mq:1883\"}" -i /root/docker-compose.yml

View file

@ -704,7 +704,7 @@ info:
API calls must be authenticated via a header of the format -H “Authorization: Bearer <YOUR_SECRET_KEY>” There are two methods to obtain YOUR_SECRET_KEY: 1. Using the masterkey. By default, this value is “secret key,” but you should change this on your instance and keep it secure. This value can be set via env var at startup or in a config file (config/environments/< env >.yaml). See the [Netmaker](https://docs.netmaker.org/index.html) documentation for more details. 2. Using a JWT received for a node. This can be retrieved by calling the /api/nodes/<network>/authenticate endpoint, as documented below. API calls must be authenticated via a header of the format -H “Authorization: Bearer <YOUR_SECRET_KEY>” There are two methods to obtain YOUR_SECRET_KEY: 1. Using the masterkey. By default, this value is “secret key,” but you should change this on your instance and keep it secure. This value can be set via env var at startup or in a config file (config/environments/< env >.yaml). See the [Netmaker](https://docs.netmaker.org/index.html) documentation for more details. 2. Using a JWT received for a node. This can be retrieved by calling the /api/nodes/<network>/authenticate endpoint, as documented below.
title: Netmaker title: Netmaker
version: 0.18.5 version:
paths: paths:
/api/dns: /api/dns:
get: get: