echo "Installing nginx"
NGINX_VERSION="4.10.0"
ANNOTATIONS='--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz'
- ANNOTATIONS=${ANNOTATIONS:-""}
helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx --version ${NGINX_VERSION} \
--namespace ingress-nginx --create-namespace ${ANNOTATIONS}
# Gitea's default values file
export GITEA_CHART_VALUES_FILE=values-standalone-ingress-ssh2222.yaml
+# Gitea's admin user
+export GITEA_ADMINISTRATOR_USERNAME=${GITEA_ADMINISTRATOR_USERNAME:-osm-admin}
+export GITEA_ADMINISTRATOR_TOKEN_NAME=${GITEA_ADMINISTRATOR_TOKEN_NAME:-admin-token}
+
+# Gitea's regular user
+export GITEA_STD_USERNAME=${GITEA_STD_USERNAME:-osm-developer}
+export GITEA_STD_TOKEN_NAME=${GITEA_STD_TOKEN_NAME:-developer-token}
+
# Base name for age keys for management cluster
export AGE_KEY_NAME_MGMT=${AGE_KEY_NAME_MGMT:-age.mgmt}
# limitations under the License.
#######################################################################################
-set -e -o pipefail
+set -ex -o pipefail
# Warning!!!: Remember to select the desired kubeconfig profile before launching this script
## Uncomment for AKS:
NGINX_VERSION="4.10.0"
ANNOTATIONS='--set controller.service.annotations."service\.beta\.kubernetes\.io/azure-load-balancer-health-probe-request-path"=/healthz'
-ANNOTATIONS=${ANNOTATIONS:-""}
helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx --version ${NGINX_VERSION} \
--namespace ingress-nginx --create-namespace ${ANNOTATIONS}
# limitations under the License.
#######################################################################################
-set -e -o pipefail
+set -ex -o pipefail
export HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
source "${HERE}/library/functions.sh"
# limitations under the License.
#######################################################################################
-set -e -o pipefail
+set -ex -o pipefail
export HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
source "${HERE}/library/functions.sh"
# limitations under the License.
#######################################################################################
-set -e
+set -ex
# Wrapper function for raw calls to Gitea API
# limitations under the License.
#######################################################################################
-set -e
+set -ex
HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
. "$HERE/../library/functions.sh"
# limitations under the License.
#######################################################################################
-set -e
+set -ex
HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
source "${HERE}/../library/functions.sh"
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- - host: git.miejemplo.com
+ - host: git.myexample.com
paths:
- path: /
pathType: Prefix
# RUN_MODE: dev
#
server:
- DOMAIN: git.miejemplo.com
- ROOT_URL: http://git.miejemplo.com
+ DOMAIN: git.myexample.com
+ ROOT_URL: http://git.myexample.com
# SSH_PORT: 22
#
# security:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- - host: git.miejemplo.com
+ - host: git.myexample.com
paths:
- path: /
pathType: Prefix
# RUN_MODE: dev
#
server:
- DOMAIN: git.miejemplo.com
- ROOT_URL: http://git.miejemplo.com
+ DOMAIN: git.myexample.com
+ ROOT_URL: http://git.myexample.com
# SSH_PORT: 22
#
# security:
# RUN_MODE: dev
#
server:
- DOMAIN: git.miejemplo.com
- ROOT_URL: http://git.miejemplo.com
+ DOMAIN: git.myexample.com
+ ROOT_URL: http://git.myexample.com
# SSH_PORT: 22
#
# security: