mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Add newline to the end of file
This commit is contained in:
@@ -8,4 +8,4 @@ metadata:
|
||||
image: gcr.io/kpt-functions/label-namespace@sha256:4f030738d6d25a207641ca517916431517578bd0eb8d98a8bde04e3bb9315dcd
|
||||
data:
|
||||
label_name: my-ns-name
|
||||
label_value: function-test
|
||||
label_value: function-test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: my-namespace
|
||||
name: my-namespace
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: another-namespace
|
||||
name: another-namespace
|
||||
|
||||
@@ -2,4 +2,4 @@ resources:
|
||||
- data1.yaml
|
||||
- data2.yaml
|
||||
transformers:
|
||||
- containerfn.yaml
|
||||
- containerfn.yaml
|
||||
|
||||
@@ -12,4 +12,4 @@ RUN git clone https://github.com/GoogleContainerTools/kpt-functions-sdk.git .
|
||||
RUN git checkout tags/release-kpt-functions-v0.14.2
|
||||
WORKDIR $BUILD_HOME/ts/hello-world/
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
RUN npm run build
|
||||
|
||||
@@ -5,4 +5,4 @@ BUILD_HOME=/usr/local/build
|
||||
|
||||
docker build -t $IMAGE_LABEL .
|
||||
|
||||
docker run --rm -v $(pwd):/out $IMAGE_LABEL cp -r $BUILD_HOME/ts/hello-world/dist $BUILD_HOME/ts/hello-world/node_modules /out
|
||||
docker run --rm -v $(pwd):/out $IMAGE_LABEL cp -r $BUILD_HOME/ts/hello-world/dist $BUILD_HOME/ts/hello-world/node_modules /out
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: my-namespace
|
||||
name: my-namespace
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: another-namespace
|
||||
name: another-namespace
|
||||
|
||||
@@ -8,4 +8,4 @@ metadata:
|
||||
path: ./fn.sh
|
||||
data:
|
||||
label_name: my-ns-name
|
||||
label_value: function-test
|
||||
label_value: function-test
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#! /bin/bash
|
||||
|
||||
node ./dist/label_namespace_run.js
|
||||
node ./dist/label_namespace_run.js
|
||||
|
||||
@@ -2,4 +2,4 @@ resources:
|
||||
- data1.yaml
|
||||
- data2.yaml
|
||||
transformers:
|
||||
- execfn.yaml
|
||||
- execfn.yaml
|
||||
|
||||
Reference in New Issue
Block a user