This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: rhdh.redhat.com/v1alpha1 | |
kind: Backstage | |
metadata: | |
name: backstage-with-sidecar | |
spec: | |
# TODO: you may want to add app-config files, dynamic plugins config, extra env vars, etc. in the 'application' field. | |
# application: {} | |
rawRuntimeConfig: | |
backstageConfig: backstage-with-sidecar-runtime-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: rhdh.redhat.com/v1alpha1 | |
kind: Backstage | |
metadata: | |
name: backstage-with-sidecar | |
spec: | |
# TODO: you may want to add app-config files, dynamic plugins config, extra env vars, etc. in the 'application' field. | |
# application: {} | |
rawRuntimeConfig: | |
backstageConfig: backstage-with-sidecar-runtime-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Copyright (c) 2023 Red Hat, Inc. | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: imageswap-system | |
labels: | |
app: imageswap | |
resource: namespace | |
--- | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set your own logins! | |
#QUAY_USER="****" | |
#QUAY_TOKEN="****" | |
#RRIO_USERNAME="****" | |
#RRIO_PASSWORD="****" | |
# login to quay.io | |
REGISTRY="quay.io" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
NAME=$(git config user.name) | |
EMAIL=$(git config user.email) | |
if [ -z "$NAME" ]; then | |
echo "empty git config user.name" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
- exec: | |
commandLine: echo exec-1 succeeding after 5s... && sleep 5 && exit 0 | |
component: runtime | |
id: exec-1 | |
- exec: | |
commandLine: echo from exec-2 | |
component: runtime | |
id: exec-2 | |
- exec: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -o errexit | |
set -x | |
cluster_name=${1:-local-k8s-cluster} | |
registry_port=${2:-35000} | |
# create registry container unless it already exists | |
registry_name='local-registry.localhost' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: v2beta1 | |
name: devspace-test | |
# You can either specify an exact version or a version range or even | |
# multiple versions. | |
require: | |
devspace: '>= 4.0, < 6.0' | |
# By default devspace will try to call the command 'NAME version' | |
# and use the regex '(v\\d+\\.\\d+\\.\\d+)' to find the version | |
commands: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
schemaVersion: 2.1.0 | |
metadata: | |
name: java-springboot-jdk17 | |
description: Java application using Spring Boot® and OpenJDK 17 | |
version: 1.3.0 | |
parent: | |
uri: https://registry.stage.devfile.io/devfiles/java-springboot/1.2.0 | |
components: | |
- name: tools | |
container: |
NewerOlder