Skip to content
Snippets Groups Projects
Commit 0045e607 authored by garciadeblas's avatar garciadeblas
Browse files

Remove testapp OKA


Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent 394ba51f
Branches master
No related tags found
No related merge requests found
Pipeline #18515 passed with stages
in 2 minutes and 7 seconds
#######################################################################################
# Copyright ETSI Contributors and Others.
#
# 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
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#######################################################################################
apiVersion: v1
kind: Namespace
metadata:
name: ${target_ns}
namespace: testapp
apiVersion: v1
kind: Service
metadata:
name: testapp
namespace: testapp
labels:
run: testapp
spec:
type: LoadBalancer
ports:
- name: tcp5678
protocol: TCP
port: 5678
targetPort: 5678
selector:
run: testapp
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: testapp-deployment
namespace: testapp
spec:
replicas: 1
selector:
matchLabels:
run: testapp
template:
metadata:
labels:
run: testapp
mexDeployGen: kubernetes-basic
spec:
volumes:
imagePullSecrets:
- name: docker.io
containers:
- name: testapp
image: docker.io/hashicorp/http-echo:0.2.3
imagePullPolicy: Always
ports:
- containerPort: 5678
protocol: TCP
args:
- "-text=\"hello\""
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: testapp
namespace: testapp
spec:
interval: 1h0m0s
path: ./apps/testapp/manifests
prune: true
wait: true
sourceRef:
kind: GitRepository
name: sw-catalogs
namespace: flux-system
#######################################################################################
# Copyright ETSI Contributors and Others.
#
# 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
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#######################################################################################
apiVersion: v1
kind: Namespace
metadata:
name: testapp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment