Fix templates for missing apiVersion

Also make default values more genral

Change-Id: I14ae9fc5a64bb725ebdf2d110137c44cde1fff91
diff --git a/apps/person-detection-app/templates/NOTES.txt b/apps/person-detection-app/templates/NOTES.txt
index ea5ed48..ef28adf 100644
--- a/apps/person-detection-app/templates/NOTES.txt
+++ b/apps/person-detection-app/templates/NOTES.txt
@@ -1,6 +1,6 @@
 {{/*
-Copyright 2020-present Open Networking Foundation
-SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+Copyright 2022-present Open Networking Foundation
+SPDX-License-Identifier: Apache-2.0
 */}}
 
 1. Get the application URL by running these commands:
diff --git a/apps/person-detection-app/templates/_helpers.tpl b/apps/person-detection-app/templates/_helpers.tpl
index 9b52287..f7aa1b4 100644
--- a/apps/person-detection-app/templates/_helpers.tpl
+++ b/apps/person-detection-app/templates/_helpers.tpl
@@ -1,6 +1,7 @@
 {{/*
-Copyright 2020-present Open Networking Foundation
-SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+# Copyright 2022-present Open Networking Foundation
+
+# SPDX-License-Identifier: Apache-2.0
 */}}
 
 {{/*
diff --git a/apps/person-detection-app/templates/deployment.yaml b/apps/person-detection-app/templates/deployment.yaml
index 24e338d..09058d2 100644
--- a/apps/person-detection-app/templates/deployment.yaml
+++ b/apps/person-detection-app/templates/deployment.yaml
@@ -1,5 +1,8 @@
-# Copyright 2020-present Open Networking Foundation
-# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+{{/*
+# Copyright 2022-present Open Networking Foundation
+
+# SPDX-License-Identifier: Apache-2.0
+*/}}
 
 apiVersion: apps/v1
 kind: Deployment
diff --git a/apps/person-detection-app/templates/hpa.yaml b/apps/person-detection-app/templates/hpa.yaml
index 3ee2f7e..79595e2 100644
--- a/apps/person-detection-app/templates/hpa.yaml
+++ b/apps/person-detection-app/templates/hpa.yaml
@@ -1,5 +1,8 @@
-# Copyright 2020-present Open Networking Foundation
-# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+{{/*
+# Copyright 2022-present Open Networking Foundation
+
+# SPDX-License-Identifier: Apache-2.0
+*/}}
 
 {{- if .Values.autoscaling.enabled }}
 apiVersion: autoscaling/v2beta1
diff --git a/apps/person-detection-app/templates/ingress.yaml b/apps/person-detection-app/templates/ingress.yaml
index f43d0b9..c9952ec 100644
--- a/apps/person-detection-app/templates/ingress.yaml
+++ b/apps/person-detection-app/templates/ingress.yaml
@@ -1,5 +1,8 @@
-# Copyright 2020-present Open Networking Foundation
-# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+{{/*
+# Copyright 2022-present Open Networking Foundation
+
+# SPDX-License-Identifier: Apache-2.0
+*/}}
 
 {{- if .Values.ingress.enabled -}}
 {{- $fullName := include "person-detection-app.fullname" . -}}
diff --git a/apps/person-detection-app/templates/service.yaml b/apps/person-detection-app/templates/service.yaml
index fed474d..1d7e02c 100644
--- a/apps/person-detection-app/templates/service.yaml
+++ b/apps/person-detection-app/templates/service.yaml
@@ -1,5 +1,8 @@
-# Copyright 2020-present Open Networking Foundation
-# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+{{/*
+# Copyright 2022-present Open Networking Foundation
+
+# SPDX-License-Identifier: Apache-2.0
+*/}}
 
 apiVersion: v1
 kind: Service
diff --git a/apps/person-detection-app/templates/serviceaccount.yaml b/apps/person-detection-app/templates/serviceaccount.yaml
index 795b694..9e6428d 100644
--- a/apps/person-detection-app/templates/serviceaccount.yaml
+++ b/apps/person-detection-app/templates/serviceaccount.yaml
@@ -1,5 +1,8 @@
-# Copyright 2020-present Open Networking Foundation
-# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+{{/*
+# Copyright 2022-present Open Networking Foundation
+
+# SPDX-License-Identifier: Apache-2.0
+*/}}
 
 {{- if .Values.serviceAccount.create -}}
 apiVersion: v1
diff --git a/apps/person-detection-app/templates/tests/test-connection.yaml b/apps/person-detection-app/templates/tests/test-connection.yaml
index 50cd63e..79766bb 100644
--- a/apps/person-detection-app/templates/tests/test-connection.yaml
+++ b/apps/person-detection-app/templates/tests/test-connection.yaml
@@ -1,5 +1,8 @@
-# Copyright 2020-present Open Networking Foundation
-# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+{{/*
+# Copyright 2022-present Open Networking Foundation
+
+# SPDX-License-Identifier: Apache-2.0
+*/}}
 
 apiVersion: v1
 kind: Pod