diff --git a/hack/operate.conf b/hack/operate.conf index 758716b..37d9356 100644 --- a/hack/operate.conf +++ b/hack/operate.conf @@ -1,6 +1,6 @@ IMG=quay.io/redhatgov/gitea-operator KIND=Gitea CR_SAMPLE=redhatgov_v1alpha1_gitea_openshift.yaml -VERSION=0.0.6 +VERSION=0.0.7 CHANNELS=alpha OSDK_VERSION=1.4.2 diff --git a/roles/gitea-ocp/tasks/main.yml b/roles/gitea-ocp/tasks/main.yml index f1cbd41..c6f4c44 100644 --- a/roles/gitea-ocp/tasks/main.yml +++ b/roles/gitea-ocp/tasks/main.yml @@ -127,7 +127,7 @@ pod: '{{ gitea_pod_name }}' command: > /home/gitea/gitea --config=/home/gitea/conf/app.ini - admin create-user --admin --access-token + admin user create --admin --access-token --username '{{ _gitea_admin_user }}' --password '{{ gitea_admin_password }}' --email '{{ _gitea_admin_email }}' diff --git a/roles/gitea-ocp/tasks/user.yml b/roles/gitea-ocp/tasks/user.yml index ddd1e64..aaedc33 100644 --- a/roles/gitea-ocp/tasks/user.yml +++ b/roles/gitea-ocp/tasks/user.yml @@ -19,7 +19,7 @@ pod: '{{ gitea_pod_name }}' command: > /home/gitea/gitea --config=/home/gitea/conf/app.ini - admin create-user --access-token + admin user create --access-token --username '{{ _giteauser.username }}' --password '{{ _giteauser.password }}' --email '{{ _giteauser.email }}'